As cars go electric, China builds a big lead in factories