Insurance companies are investing billions of their customers’ money into A.I. deals as analysts warn of mounting risks. Share