We are medieval creatures, we long for a purpose, no matter how small, no matter how trivial. If the machines take the purpose, all the fruit-baskets in the world wont fill that hole.
A UBI would enable humans to do more work that society either can't or won't automate. Care of other humans is an example. Yes, machines may be able to take on some of that role, but never all of it.