The problem is that, before automation, people had something to trade for their daily necessities - their work. Work was tied to each individual and that empowered people. Now, with automation, people will have nothing else to offer, but still have the same needs as before. So people lose their influence and become subjects to the whims of whomever decides the quantum of the UBI. What if they set it too low? What can a person do against the state in that case?
I have been thinking about this problem, and came to the conclusion that the only way to assure people's future is agriculture and self-reliant industry. If corporations won't hire people, people need to be "hired by the land". I see cooperatives being formed where people buy land and cultivate their own food, possibly using technology, even robotics, that is in the public domain and can be used freely.
In the long term it will be essential that AI and robotics be implemented in the public domain otherwise only the big corporations will reap the benefits of automation. Remember what happens when a concentrated source of wealth appears: with operating systems, the Windows monopoly; with search - Google; with social - FB, with oil - arab countries (where huge social problems appeared as a result). People need to be in control of their sources of income. UBI is just a promise from the state and "the 1%" that we will not be left to starve. But can we trust them? We need to become self reliant.
As a side note, a number of technologies will be essential for self reliance, such as: solar, water filtration, 3D printing, robotics & AI, agriculture (including the right to create seeds, that has been usurped recently by big corps), open & free education, generic drugs and of course open source software.