Despite declining interest in electric passenger vehicles, some companies are pushing forward with the electrification of a much more challenging segment of the transport industry: heavy machinery.