Elon Musk praised China's efforts to develop artificial intelligence, remarks that reflected the billionaire's efforts to stay in the good graces of China.