This goes in cycles, though. We're about due another Therac-25 (which is now fully outside of a single developer career duration). Had they not been caught, perhaps Theranos would have been that scandal.
Theranos's issue was that their hardware never worked in the first place. And the worst it could have done was produce wrong test results -- which can certainly be dangerous, but it's not literal death rays like the Therac-25.
737 MAX is not really a software failure. Boeing's attempt at hiding MCAS to ensure that the MAX shared type rating with previous 737s, for example by avoiding any mention in the manuals, is not related to software.
On top of that, they added injury to insult (sic) by not providing redundant AoA sensors; but even that is more related to bean counting than to software issues.