China mines more than 95 percent of the global supply of the metals, which are essential for smartphones, electric cars, many computer components and a range of military hardware. In addition, the country mines 99 percent of the least common rare earths, the so-called heavy rare earths that are used in trace amounts but are crucial to many clean energy applications and electronics.