Countries are racing to secure the critical minerals and rare earths needed to make vital products.