machine to produce rare earth