This is a social problem and technology cannot solve this one.
If you don't solve what comes after the so-called "abundance", "UBI (doesn't work)", "utopia", "AGI" that is religiously being talked about here, it will unfortunately be paved with VaaS (violence-as-a-service).
It is a road we don't want to go down, but there are places on the internet where this is celebrated and getting normalized, ever since the UnitedHealth executive got Luigi'd.
The only things I've seen that say it won't work are "economists" who believe in trickle-down economics, and armchair psychologists who claim that if you give people enough money to survive without having to work, no one will ever work again (trivially disprovable by observing people who inherited staggering wealth, and yet chose to go into business).
VaaS: Its name suggests that it will be a scalable service.