You guys give far too much credit to the machines. Yes, automation can do repetitive tasks, and yes, automation will replace workers who do repetitive tasks. But what automation can't do, but most humans can do, is exercise simple judgment and common sense. Particularly when interacting with humans, automation is laughably bad.
As for UBI, the idea of a social credit is not new. The problem with it is inflation. If you gave everyone $2500/mo, for example, that income wouldn't become the new zero (because it is something), but it would be so far below the poverty line that it may as well be.