US spy agencies hope artificial intelligence can predict future events