In both situation you make it illegal for corporations to do something, and punish them with fines and criminal sentences for executives if they're caught doing so, leading to a decrease in that behaviour.
So what about the situations do you see as different that makes it a false equivalency?