Pensions are fine if you actually pay for them by purchasing guaranteed annuities to offload the liability. Except nobody wants to do that because they’re insanely expensive. Even more so if they’re going to be inflation adjusted.
In reality if workers want pensions, the company should give them a fix annual amount that the worker can use to purchase an annuity.