The race to produce rare earth materials