How to know if artificial intelligence is about to destroy civilization