China is Tesla’s second-biggest market after the United States and accounts for about 30 percent of its sales.