The Trump administration has made developing domestic production capacity for permanent magnets and other rare earth products a key priority after China spent years building a global monopoly.