Having worked briefly at a federal agency, my impression was that people are very dedicated to their jobs. They really believe in the mission of the agency. But at the same time, many come from the industry and believe that the industry itself is very important to the country. A typical securities lawyer at the SEC doesn't think of banks as evil entities that must be put down. They think of them as vital to the economy, and think of their role as regulators as ensuring that everyone plays by the rules so the industry can thrive. They consider a healthy banking industry as being in the public interest.
That is not to say that this doesn't bias them towards the banking industry. But it's not a simple, cynical, "avoid prosecution so I can get a plum job later." Cause and effect are too disconnected to really make that an issue. It doesn't really effect your job prospects whether this or that enforcement action happens.