GM was once a world leader in rare earth magnets. GM sold off this division to a Chinese consortium to gain a larger share of China’s auto market. This gave China crucial technology for its future EV industry.
From @ErnestScheyder’s book The War Below