That's how it works in other countries like Canada. It's relatively easy and failsafe if well implemented, I really don't understand how it can be legal for a company to access the fund like in the story.
It's a shame so many of them are so badly managed/corrupted though. As usual, most stories about pension failing are about gross mismanagement (not paying into the plan as required) or corruption (drawing into the plan innapropriatly).
a) missing employer contribution to the fund on every paycheck b) mismanagement of the fund
The second point can be very varied and only limited by imagination, from embezzlement to government action. I've seen laws passed in the past passed about being able to take a loan on certain public pension funds without interest, which shows the complete lack of understanding about how these pensions are supposed to work and the actuarial math behind it.
In practice, this would probably be messy, very costly, and extremely unlikely to happen.