Artificial intelligence can be used to help society prepare for future pandemics, researchers from Oxford University say.