There won't be a basic income. Because the elites won't worry about the gradual mass unemployment, since as long as they are in power, it's a self resolving problem.
Let's say in the near future, you've just lost your job to a robot, there's no UBI, and you're too old/poor to switch to a shrinking list of careers. What are your options?
1) Kill yourself and your family before starvation
2) Turn to crime, eventually ending in incarceration or killed
3) Join radical politics, see above
Given automation will occur over a span of decades, the process is akin to the boiling frog analogy. Mass unemployment won't happen overnight, the elimination of the middle/working class will just progress on its own, until there's only two types of humans left on earth: the elite class, and the dying class of employees with the skill sets that the elites keep around to sustain their wellbeing, such as security, law enforcement, engineers, software devs, surgeons, high class escorts etc.
>But if most humans are gone, who's gonna buy all the products to keep the elites going lol
Before the consumer/labor class is entirely eliminated, a fully automated workforce will allow the elites to become fully self sufficient. Why worry about revenues, when your private, automated farms, factories and mines will make sure your kind live long enough to turn the entire planet into a depleted wasteland.
In summary, your only ticket to survive the future, is to gain an employable skill so valuable, someone like Warren Buffet will care enough to learn your name
Automation = depopulation