It took China 25 years to dominate the market for electric vehicles.