Volkswagen is pegging its fate to a major bet on electric cars