The big difference between the everyday examples you quote, and contributing to software systems, is what I call the invisibility of the software. No bystanders can instantly judge you to be criminally incompetent when you write code that is so buggy, so fragile and so unsuited to control any aspect of society. Whereas any bystanders witnessing your example actors (shelf stocker, bicycle shop seller, etc..) can instantly judge your example actions as being immoral.
That is why we constantly get away with murder: our core artifact is totally incomprehensible to virtually everyone around us. This incomprehensibility even starts within our software teams: we write stuff that even our team members can't understand, let alone our managers, our project leaders, our bosses, our clients. I'm afraid your comparison therefore ignores this fundamental difference.
Software realities mean 99.99% of developers act as lone cowboys.. without any pressure to act in any way in a professional manner (professional as defined by the dictionary, not as defined by our industry).