One form of UBI is essentially a negative income tax rate for people making below a certain line.
As more and more jobs get automated away, we will either become a society of wage slaves with a small upper class controlling trillions (wait a minute...) or we will distribute the benefits of an automated society to all people.