Big carmakers are placing vast bets on electric vehicles