Losses are always public, these investors will use the loss against gains and therefore will pay less taxes, reducing the amount of government revenue.
Collectivized or public losses come into play when the government bails out failing companies so that shareholders don't get hosed for a bad investment. Shareholders getting hosed is the opposite of that; private loses.