Lonf term thoughts...
I think electricity is the way to go, how that electricity is made at this moment in time is irrelevant, precisely because we have so many options.
Different communities can get their electricity from different sources - not something that can be said for petrol or hydrogen which require specialist processing.
I think future transport will utilise various different fuel methods; mains electric for those who can rely on the existing infrastructure, hydrogen fuel cells for those who need more flexibility & renewables for those outside any available infrastructure the first 2 options need. The common factor in many of these will be power provision by electric motors. What will differ is where that electric comes from...
And undoubtedly other options will present themselves over time.