So, yes, fining companies to keep them in line is working when the alternative is that the unchecked corporations do things so catastrophically stupid that they run their own businesses into the ground.
I submit that such circumstances are rare, and that the usual case is that fines are a tiny fraction of the money companies being in by breaking the law.