It's a lesson for bank investors and regulators alike: Investment banks are alive and kicking.