Rare-earth metals are a group of 17 elements that, along with other critical raw materials, are used in the production of a wide range of high-tech products, from smartphones, computers, wind turbines and electric car batteries to defense equipment, lasers, optical fibers and aircraft engines.