Time is running out for traditional foreign automakers to adapt to China's electric car market.