Not that surprising actually, the static models (ie a crane in a scrapyard) have been electric for a long time.
If anything, the biggest challenge / last bastion will be for the highly mobile operations, bringing all the needed infrastructure to power them, which isn't as much as problem with diesel.
Maybe we'll see trucks mounted with large arrays of batteries to deploy on the field.