Yeah, if nothing else, the automation of McDonald's may serve to properly change the focus from "foreign workers are stealing our jobs" to "robots are taking our jobs". The historic arguments that new jobs will come along may not be relevant. Yes some new jobs like robot tech will be created, but either the job will be so simple that another robot can do it, or it will be so complex that entry level workers and long-term unskilled workers won't be able to perform the work. The key difference now is that the robots are reaching the point where they can permanently displace many or even most forms of unskilled labor and there is a large portion of the unskilled labor class that simply don't have the learning capacity to progress out of that trap.
A basic income law would be one answer - it would allow unskilled labor to survive while retraining full time or just to survive in the face of inability to learn new skills. But if you look at the historic antipathy in the U.S. to any kind of a taxpayer-funded handout even with stringent eligibility requirements, you can see that a basic income is going to be a loooonng, 20-30 year debate with the laissez-faire capitalists and IP rent-seekers screaming "illegal taking" every step of the way.
And then there's the question of how to fund such a program. A tax, or elimination of depreciation, on robots and other autonomous capital equipment might help, but probably wouldn't cover. It would also probably spark a move toward leasing robots.
Eventually, we'll reach a point where the social costs of a large "unproductive" and "unemployable" class will force some really hard decisions. I think that very long-term, either the US socio-economic system will be forced into democratic socialism with state ownership of sufficient property and industry to fund basic income or pseudo-productive employment, or there will be a violent revolution to outlaw AI in all forms, as in the Butlerian Jihad back-story of "Dune". (And yes, all you surveilling governments out there, this is how you use "jihad" in a sentence without being a terrorist.)