legacy automakers adapting to evs