How some automakers are preparing for the switch to EVs