Similar kind of stuff happens all the time, where public institutions bear the cost and consequences of private enterprises. Good example of a not too dissimilar situation was Memorial Hospital during Katrina, where instead of sending private helicopters and rescue, the firm that owned the hospital opted to wait for "free" US government rescue.
Privatize the profits, but socialize the losses.
A bit dated as Moskus also said. Skip on OpenOffice in favor of LibreOffice for example.