That is a great question +Scott Foust
... and there are no easy answers. From what I can tell, our political leaders have yet to broach this subject, but the train is heading for the cliff much more quickly than most people expected. Technological advancement is happening on an exponential curve, and we are now seeing that the curve has tipped into the nearly-immediately noticeable segment... and will only continue to increase in acceleration from here. How will society handle it? Some talk about Basic Guaranteed Income. That might work. But I don't think so. Not without a coherent plan for how that system will be funded, and so far I don't see such a plan. So the solution remains to be seen. And maybe, just maybe, there won't be one at all. In which case we can expect very hard times going forward.
I recommend people start asking their political Candidates what they expect do to about this... and listen for coherent plans. If you don't hear any, then insist on it. And keep insisting. There actually does not appear to be much time left for this debate.