Investors who buy shares actually buy a portion of the company. Shares provide certain rights to the owners but they have no obligation if the company defaults or faces a lawsuit. The stock may become worthless in a worst scenario, and that is the limit to the investor's liability.