If Ai works there is no reason there has to be a pension system collapse. I think the problem will be complexity. Ai will allow such complex systems that fewer and fewer people will be able to maintain the systems because the complexity will be so high. We'll need to plan for what it looks like that people with IQs less than 145 won't be productive in any meaningful sense of the word.