401Kish accounts are the only way to go. The only reason that pensions seem better is that the risk appears to be transferred to the government/corporation.
As Detroit is now illustrating that transfer is really an illusion.
Detroit is not illustrating that the transfer is an illusion, it is illustrating that it's not a full transfer. The issue is far more complicated than what you've put here.
In a 401K plan, you cannot accumulate the type of lifetime pension that public pensions pay (if you make more than 50k-60k).
That's completely ignoring the longevity risk sharing, which can only be immunized with an annuity that is very costly and pushes the arrow even further in favor of public pensions.
The equation completely depends on how much collateral is set aside for the promise. In the US, the pension system IS very bunked in this regard, I'll grant you that.