AI is preventing the spread of infectious diseases.