Researchers have examined a method to extract rare-earth elements from mining waste that could provide the world with a reliable supply of the valuable materials.