AI gives miners a sixth sense, predicting dangers they can’t see and acting before things spiral out of control.