An artificial intelligence model from the Mayo Clinic detected early signs of possible pancreatic cancer on scans up to two years before patients were diagnosed.