Tesla Inc. recalled virtually every car it’s sold in China due to a braking and acceleration defect that may increase crash and safety risks.