As a thought exercise, replace “programmers/employees/companies” with “criminals/inmates/prisons” in your argument and you will see parallels with modern law enforcement.
Law enforcement embraces rehabilitation, prevention, and other mechanisms as well as simple punishment.
Seems rather disingenuous to make a claim that negative reinforcement doesn’t work, vis-a-vis not having to be in jail.