As demand for critical minerals soars and projects expand into increasingly complex locations, the mining industry is facing a new kind of pressure.