The United States is grappling with a significant weakness in rare earths and critical minerals, including cobalt and nickel.