The Hydrogen tank for the Toyota Mirai literally has a replacement date of 10 years. And that's not a maybe, it has to be replaced for safety reasons.
Modern Batteries last 10 years easy. Even the abused leaf ones with no thermal management last fine. It will not be any issue