Rare earth elements (REEs) are essential to the so-called green economy, used for everything from smartphones and tablets to electric vehicles and wind turbines.