Globally, demand for critical minerals is rising because countries are trying to solve three problems at once: energy insecurity, climate change and technological competition.