The thing you’re thinking of is the pilot. If the plane is capable of control, the pilot will move it on a trajectory away from populated areas if possible. Protecting innocent people on the ground in the case of an emergency was always top of mind, you can see this in the crash reporting for multiple real world incidents (in airframes with, and without ejection seats, where the last actions of the aircrew were steering away from populated areas)
By the time a pilot ejects they’ve exhausted EVERY other option to control the aircraft, no AI is going to regain control at that point.
By the time a pilot ejects they’ve exhausted EVERY other option to control the aircraft, no AI is going to regain control at that point.