If wages kept up with productivity increases, there would be more than enough tax money to fund national pensions. Thanks for the insight, I’d never thought about it that way
Automation helps increase productivity per person and reduce the necessary working population to non working population ratio, but there is no natural law that automation can progress as quickly as it would need to in order to meet the expected quality of life in the face of declining proportions of working age populations.