Artificial intelligence is altering how insurance risks are being assessed, premiums defined and claims managed.