China’s electric-vehicle boom is facing serious headwinds, as leading brands like BYD scale back production amid a fierce price war.