SHANGHAI— Tesla Inc. would never provide the U.S. government with data collected by its vehicles in China or other countries, Elon Musk, the company’s chief executive, told a high-level conference in ...