If what you're saying were true, then there should be no need for any safer rules and regulations in industry, as profit incentive should drive companies to just make their products safe by themselves. Which is, pretty objectively and historically demonstrable to be completely untrue.
That’s absolutely not what I’m saying. Air travel needs regulation, it is as safe as it is because of regulation. But regulated capitalism is still capitalism.
Airbus did this because it is good for them, whether that’s to avoid future lawsuits, or to have a better safety record, or both, or other reasons entirely.
Something isn’t “literally the opposite of capitalism,” as you put it, just because it isn’t evil.