Rare earths are a group of 17 chemical elements used in everything from high-tech consumer electronics to military equipment