Tesla CEO Elon Musk has wrapped up his first trip to China in three years, after meeting a string of government officials and thanking workers at the company’s mega factory in Shanghai.