Do the calculation for joules of power to move a fully-loaded tractor-trailer. Do a joule/kg calculation for modern batteries and calculate the series you get due to the rocket fuel problem (it takes a lot of battery to haul your battery).
You find that the towing capacity of that semi is miniscule vs an ICE engine. Same problem applies to heavy equipment (even if you completely dodge the issue that heavy equipment works out where stable power usually isn't readily available).
Hydrogen offers a solution to this that batteries can't offer.