Microsoft’s blackout and the FAA ground stop had similar triggers. One expert says AI is the solution.