I think the cycle feeds into itself though: part of the reason planes and trains are so safe is
because of the extensive root-cause analysis of crashes, which routinely result in suggestions for improvement that make the rest of travel safer. Remove the investigations and you'd end up with more plane and train crashes.
When a car crashes, we just scrape up the debris and move on, after usually assigning blame to one of the drivers who ends up with higher insurance premiums or a lawsuit, assuming they survived. There's little effort to learn from the crashes.