Trump's fight over rare earths stretches from U.S. to China and beyond