I tested a 55,000-pound electric excavator. New ways to power off-road machines, which mostly run on diesel, could cut about 3 percent of U.S. carbon emissions.