I'm a contractor for MSHA, the Department of Labor's Mine Safety and Health Administration. In our industry, diesel power is already giving way to battery power, even for some of the largest equipment. Google: electric mining. You'll find articles like this.
*underground mining only*
Added the appropriate caveat.