The startup is poised to become a global leader in recycling rare earth magnets from old EVs, wind turbines, and more.