Aviation has managed, through a great deal of hard work, to ingrain an overarching culture of safety first on all levels of the chain. Those involved on all levels are thoroughly trained, procedures are formulated and followed, and when something does go wrong a thorough, safety-focused investigation is conducted. Air safety investigations are quite different from the process we follow almost everywhere else, in that their one and only goal is improving safety, not assigning blame. That means you're not trying to find
who fucked up (it is, almost invariably, the pilot), but rather to understand what went wrong, why, and what can be changed to make sure the same doesn't happen again; Punishing someone responsible isn't even on the radar for this. (And in some cases, the results and testimonies in an air safety investigation are actually
precluded from being used for any kind of punitive action.) In aviation this attitude is to a large degree enabled and enforced by stringent government oversight.
This is a very effective system, but it requires real buy-in from everyone involved, for things that are very much counter-intuitive to us as people. It also has a great deal of overhead and extra cost that must be accepted globally, and cutting corners cannot be tolerated even for the occasional cases where you may be convinved something is reasonable and safe.