Now do that again without careless work or spoiled ingredients. Do you still want them punished or facing so much regulation they can't exist? Because you'll definitely get that with software; even really good development will have flaws, and single flaws can lead to a thousand or million hacks.
All humans face scrutiny in their interactions with others.
Software only got this bad, because we educated users broken tools are acceptable and fixable with computer reboots and anti-virus.