It's a balancing act for sure. Previously, most western countries enjoyed a population growth, which meant more workers paying in than taking out, as this trend is reversing in nearly all western countries, it will be interesting to see how each country deals with it. In the U.S. the focus is on immigration and putting additional limits on what one can take out of the system - I'm not entirely sure that this is the right response, but I don't think simply ratcheting costs up on tomorrow's workers is the right answer either.
As to robotics, well, that's a whole 'nother basket to deal with. I don't think that expanding robotics automatically creates worker revolts - if done well, it can create opportunities where they didn't exist before. Where once the only low-skilled jobs available were heavy labor and highly fungible services, we could create whole new classes of jobs relating to less fungible services (e.g. hyper-localized services), and with the possibilities of expansion off of the planet - there will be many opportunities for new work. I do believe that robotics will reach the tipping point right around the time that space exploration truly opens up. If it doesn't, my prediction that most employment will be in the armies of nations - as we fight over dwindling resources.
As for robots, watch Japan: they have an aging population, an aversion to immigration, and a love for robots.
Within 20 years there will be wide-spread protests against robots in the US, with calls to outlaw robotic manufacturing, union calls to limit robot use and artificially increase robot cost to make it "fair" for human labor, and lobbying efforts to restrict which tasks robots are allowed to take over.