The metals and mining industry will play a major part in the energy transition. But it needs to decarbonise first. Can AI help companies bring their emissions down while boosting their efficiency?