What is the solution? Obviously, we would like to keep moving forward and allow anyone that is willing and able to do the job they want, but if anyone would like to be with their children, or take time off while a spouse works, that should also be able to be done.
The solution to me seems to forcing the gains in production and efficiency to the people. With what mechanism I am not sure, but a society that increases output while the lifestyle of average people decreases is not a successful society. Obviously, companies are not going to do this on their own, so I think this should be governments main role, to ensure companies act in the people's best interest and fill in the gaps where companies fail or are not efficient.
It seems to me the increases of efficiency should allow all people a minimum quality life(i.e. a place to live, something to eat, a doctor, education), no matter their contribution to society. I think this can turn people that are a strain on the system to contributors (and if not, we should still do it. What is the point of society, if not to take care of people and give them a better life?)