It's going to be fascinating to see what happens over the next hundred years or so as automation continues to increase per capita productivity while actual human work dwindles to next to nothing (at least in many manufacturing, transportation and logistics sectors). I don't see any solution to the problem other than taxing the heck out of the producers and distributing it among the people who can't find work with a living wage. It's a delicate line to walk though, as too much taxation will retard the proliferation and technological advancement of automation, which will only prolong the problem.
Full disclosure: I am an automation engineer, so not only am I highly biased, but I am completely talking out of my when it comes to economics and public policy.