Shrinking demand in China and a surge of low-cost EV exports are forcing Toyota, Volkswagen and Detroit brands to rethink future lineups worldwide.