Research free energy

Research hydrogen energy directly from water, electrolysis process.
Years ago we saw car running on water, from what I Understood then the only problem was the corrosive effect of the electrolysis on the metal part used for the process. This was years ago, it’s a big hard to believe there’s no way to make it work nowadays.
Other possible form of energy is the nuclear battery, the Chinese have developed it, why are we behind?
And let’s not pretend the electric battery is the future when we know the resources needed to produce it, we might as well stay with oil.