It's more likely that managers are just incompetent. Not being able to distinguish between infrastructure and "decoration" means all their decisions are at best superficially motivated.
The punishment we have for this is unemployability and bankruptcy. It will happen by itself if you let it.
A framework for "punishing bad software" sounds to me to be hiding the ambition to "protect bad managers from consequences of their decisions".