Actually Toyota is offering a hydrogen powered automobile called the 2024 Toyota Mirai. It is priced at about $50,000 for a base model.
2024 Toyota Mirai | Toyota.com.
It uses fuel cell technology where the hydrogen is not combusted like in gasoline cars, but is fed to a fuel cell, where the electrons of hydrogen gas; H2, are removed and stepped down, extracting electric energy. The fuel cell acts like a passive electric generator with no moving parts. The fuel cell takes the place of the battery in an electric car, but instead of charging, you add more hydrogen fuel. The rest of the car is like an electric car beyond the fuel cells. The only output emission is water. They use three carbon fiber and polymer epoxy fuel tanks that are indestructible. Interestingly, the car is rear wheel drive instead of front wheel. It has a 400 mile range and can be refilled in 5 minutes.
Fuel cells are not new. They have been used by NASA and other International Space Agencies to power the inner workings of space vehicles and satellites, due to their high power to weight ratio.
Hydrogen is very explosive; Hindenburg below. It was used for 1920-30's airships since hydrogen could be easily made by electrolysis and was very light and floats in air. That was replaced by helium which is more expensive to process but does not burn.
Nowadays, there are workarounds to the explosive nature and transporting hydrogen. One work around is bulk transporting ammonia, to filling stations, and then catalytically breaking down the ammonia, to hydrogen and nitrogen gas, when it is time to fuel.
Fossil fuels can even be converted to making hydrogen, so we don't have to kill an already existing industry. There is even what is called white hydrogen. This is hydrogen made by the earth itself, that comes fully assembled, with no cost other than mining. If the earth can make hydrogen my guess is the earth also makes fossil fuels such as methane gas.
Fossil fuel appears to be a misnomer since not all carbon based fuel comes from fossils but much comes from the inner earth and from life. I like the idea of combining solar energy with hydrogen production so you can fill your car for free.
Hydrogen is also the fuel source of stars like our Sun, and the use of hydrogen is the goal of nuclear fusion, which could then be used to make more hydrogen to feed the fusion and fuel cells. Then we would be set forever.
I read about an emergency vehicle that was hydrogen powered. The hydrogen not only powers the vehicle, but the vehicle also be turned into a powerful emergency generator. The waste water that is made by processing the hydrogen, is recycled and saved within the vehicle, and can be used to fight fires or as a drinking water supply.