AI would be potentially useful for 'it's never happened before' scenarios (which is where humans can often excel), but part of the process for implementing a 'pilotless' aircraft would be to list every single emergency scenario that's ever happened (at least the ones that are potentially survivable - the wings falling off can probably be excluded). Then determine the optimal course(s) of action and program that into the computer. An all engine power loss is actually one of the easier scenarios - it's happened many times so there is considerable data available as to what course of action would be most successful. The primary advantage of the computer is it would be able to analyze all the potential options and chose the most viable course in a fraction of a second. Sully did fantastic, but it took him several seconds to make that decision which unfortunately eliminated potential options.