The U.S. and China have reached a trade deal to ease concerns over rare earths, with the U.S. reducing its reliance on China for the critical minerals. But challenges remain.