Maybe not viable for personal vehicles but I can see hydrogen fuel used for trucks/ships. Electric batteries are probably too heavy and take too long to recharge for long haul.
Batteries are fine for semi trucks, too, actually. Even 500 miles with full payload. Transoceanic ships are a major challenge for batteries, but the scale is large enough that maybe you could use liquid hydrogen. Or just synth fuels like methane.