Rare earth magnets are essential for clean energy, but only a tiny fraction of the metals inside them are ever recycled.