Wouldn't UBI be funded by the wealth generated by the automation in this case? So is the difference only the amount people receive that changes UBI from an economic cushion to sharing the wealth?
In addition the premise that everyone will be fired is a little presumptuous to me. So far we've seen that agents are very capable of automating well-scoped, verifiable tasks but the majority of jobs don't consist of those