Also Hydrogen vehicles are a thing now. Trains coming online in Germany, and Toyota are selling hydrogen cars now in Japan/USA. There are shipping container sized hydrogen production stations being produced in Germany that run on solar.
Hydrogen powered cargo ships have already been made as well. However, I'm not sure if hydrogen generation on board ships has been explored yet. Who knows... it may be possible for ships to run without ever needing to refuel if generation is done on board.
Now it's possible to use the extra power from renewables to make Hydrogen. Often solar and wind are over provisioned so they can provide extra when the sun or wind is low. However when wind or sun is high, the extra power is just wasted. Many home solar systems for example work on charging three days worth of power in case there are a couple of cloudy days. So even though conversion is only currently around 35% efficiency, that power would have gone to waste anyway.
The writing is on the wall for fossil fuels. I think this is the main reason why so many big funds are divesting from fossil fuels.