Read Privatizing profits and socializing losses (Investopedia)

Privatizing profits and socializing losses refers to the practice of treating company earnings as the rightful property of shareholders, while losses are treated as a responsibility that society must shoulder. In other words, the profitability of corporations are strictly for the benefit of their shareholders. But when the companies fail, the fallout—the losses and recovery—are the responsibility of the general public. Popular examples of this include taxpayer-funded subsidies or bailouts.