It's going to happen. Once a human's living wage starts being more costly than automation and AIs, no amount of laws and unions will hold the tide back, nor is taxing the few to support the idle many a stable state. At that point we basically have 3 choices. Contract the population to the ever-dwindling employable remnant, panic and retreat into a Luddite dark age, or switch the economy to some yet-to-be-devised ludic system.
Of course, we could automate that, too. It wouldn't be our smartest move as a species, but it'd probably be our last.