Producing and manufacturing electric vehicles and their batteries uses a lot of energy, leading many to be skeptical about the environmental benefits of going electric.