Most of the developed world has the same problem on that front. The desperation by these countries when it comes to figuring out how to patch up the finances of those programs will increase by the year.
Robot (productivity) taxes will be one small answer. Another will be ever higher income taxes, also eventually including heavy wealth taxes (that comes last). Most of the developed or semi-developed world is starting to get hit on demographics at the same time. The weaker economic nations are being forced to respond first, as in Russia having to raise their pension ages so high it starts to cut people off at the life expectancy line (plunging Putin's popularity numbers in a rather startling fashion, which tells you how important the pension promises were). France is being forced to confront similar problems, with Macron trying to dress that up as market reforms. The US is temporarily avoiding it thanks to its ability to run absurdly high budget deficits for now.