Sure managers are guilty.
But managers did not write the code. "Engineers" did.
As long as there are engineers writing that code (also see VW and #Dieselgate) there will be managers who do this. Engineers need to take a stand and don't do everything. Like professionals. "He made me do it" is not an excuse for hundreds of dead people.