Artificial intelligence is changing how risks are identified, managed and mitigated.