Hydrogen, it's not going to happen for the private motor car the whole of the petrol sales forecourt system would need to be upgraded to take the very high pressures required to store it and the tankers to carry it also, for HGVs with transport bases and their own storage it might work, if they can get to the stage where it can be produced 'green' in sufficient quantity instead of as at present 'grey' i.e. largely from fossil fuels. JCB as mentioned is of course not a road vehicle it's a site machine probably suited to being not far from its on-site fuel storage.
HGVs with battery swapping technology can work for huge vehicles and long distances and cheaper than diesels to fuel and maintain.
The environmental costs of producing EVs are not so different to producing ICEs and the cost of extracting oil and shipping it around the world is continuous long after the vehicles are built.
Lithium is mined with less environmental damage than drilling for oil and it's not going to destroy large areas of the oceans with 'spills.
More cobalt is used in oil refining than in batteries which are in fact moving away from it........................