Privatize the profits, Socialize the losses, that's the American Dream.
They often result in solid financial returns for the government holder of equity.
There are other reasons, some good, for doing so. Amtrak, for example, might better have been formed as a nationally operated part of the transit network rather than as a quasi-private-sector corporation that is neither fish nor fowl and suffers for it. Municipal utilities often work quite well at least here in Northern California, though at the national level I only know of the TVA and the western dam systems.