Tesla Inc. will need to fix almost every car it’s ever sold in China due to an issue with the vehicles’ acceleration systems.