Bagger 288 and Bagger 293 were fully electric, AFAIK. 1995 already. Tallest terrestrial vehicle.
Tons (excuse the pun) of different electric excavators seem to exist already (e.g. from Hitachi). I'm sure even those which are powered via cables won't go to a diesel generator and the electricity they get can very well come from renewables.
In Nordic European countries already 17% of their trucks drive battery electric.
I heard with the Hormuz situation there's a substantial push to electrify the truck flotillas right now in the rich EU countries. Many postal vehicles are electric also.
No objection regarding (jet-)planes or cargo-ships. Know nothing about the details but could imagine those to be hard to optimize for weight with a myriad of batteries for long hauls in unpredictable power requirements.