This had me wondering several things (as a layman), notably: did the use of autopilot make for certain doom in these cases, as possibly an aircraft without might have entered a state of descent allowing its occupants to regain consciousness; and, what avionic solutions could aid in this type of accident, which seems inevitable given the rapid cognitive toll of hypoxia? A vigilance switch for the autopilot to remain engaged (on some aircraft currently but uncommon)? Controlled descent by the autopilot when fuel is depleted? And especially, remote piloting by instruments, which seems invaluable in a variety of related emergencies?
[0] https://en.wikipedia.org/wiki/Helios_Airways_Flight_522 and the two linked in '#See also'