China is Tesla’s second-largest market, and the U.S. automaker faces intense competition from a range of competitors.