Chinese carmakers like BYD and Xiaomi have strengthened their position as the leading producers of EVs over the past decade.