Related, Oslo has rules for reducing emissions from building sites which has made it a pioneer in the development and use of electric building machinery. Some of it is battery powered and some requires a really long extension cord. I do wonder how practical that is when maneuvering and if they need somebody to move the cable out of the way when it reverses.
https://www.theguardian.com/world/2025/jan/10/oslo-leads-qui...
A 38-ton electric track excavator that requires a cable: https://www.youtube.com/watch?v=hYuYgPv8s5c