As Beijing's new licensing rules on samarium and related materials restrict exports of these heat-resistant magnets, America's ability to produce precision-guided munitions has come under pressure.