I think one of the key lessons of 2016 is that globalization is politically unsustainable. Similarly automation will only be sustainable as long as human's who need to work have a place in the world. Revolution and "heads on a pike" are the consequence to automation without considering the needs of "the people".
I think this is inevitable, but the question becomes, when? We've already had 25% unemployment in this country with the great depression, and there wasn't a revolution of the poor and working class against the rich. And we've had terrible working conditions where workers revolted against their corporate masters, only to be shut down by the government (e.g. The Homestead Strike). The reality is, it will probably take much worse than both of those combined. I think it's going to be a gradual process. And that's why the wealthy today won't give a **** about customers, because that's not next quarters problem. Let unemployment go up a couple percent every year, as long as they profit more and more. And by the time people are ready to have that revolution, they most likely will be dead.
And that brings up another solution for them. The Elysium approach. They might not necessarily be living on a space station, but the wealthy always find a way to segregate themselves from real world problems everyone else has to face. As for UBI, and allowing people to focus on what they love? That's a pipe dream. If people are given $5000 a year, corporations will just figure out how to charge $6000 for basic living conditions. The most probable outcome is the rich are going to get richer, and poverty is going to increase for the rest of us. Most of us won't have time to work on art or anything else, because we'll be figuring out how to just survive.