China’s Xiaomi wins state planner nod to make EVs amid glut in autos