Rare earth metals will eventually be mined from asteroids in space or the moon (where they came from in the first place).