As the world scrambles for critical minerals, mining companies are chasing the goal to scale production while slashing emissions and waste. The technology exists, but so do the obstacles.