There are many categories of people behind a "business", but you can generally classify them into three:
1. Employees (incl. management)
2. Shareholders
3. Investors
In criminal law, if a group does something illegal outside of a corporate context, then the individuals doing that act (ie. a relevant subset of employees) are always guilty, the people who ordered them (ie. management) are guilty if they knew or should have known what was going on, and the people who financed them (ie. investors and customers) are guilty if they knew or should have known. I'm not a civil law expert, but I would expect something similar to exist there as well with regard to liability. Hence, applying this principle, it seems reasonable to hold management accountable as individuals for a corporation does, and then once we get to individuals and investors it all gets down to what standard we apply for "should have known". On the extreme side, if there is a business which is obviously set up with the mission of supporting terrorism, then investors and customers should be held responsible. On the other hand, if it's a scandal where management expertly hid the details from everyone else, then investors and customers would both be clear. Everywhere in the middle, it's a judgement call for the court.
I generally support making investors liable more often; the one thing that worries me is that people will find some way of investing by proxy via derivatives, where if one organization figures out how to base itself internationally so as to be immune from lawsuits then that organization will hold lots of shares and everyone will enter into a contract-for-difference with them. Would setting yourself up to have positive exposure to a corporation's stock price count as investment no matter how it's done? From an economic standpoint, it basically is, but it might be hard to unravel the knots there.