Elon Musk describes the implementation of UBI in response to massive unemployment generated by AI.
Our AI XPrize project was originally conceived to deal with the situation that Elon describes. We must implement global UBI that will provide 20 GigaJoules per human without environmental degradation. We have a path to the solution but it will take a huge investment by government level entities to make it happen. Perhaps on the order of a trillion $$. But it is an investment that is worthwhile and will change humanity forever for the better.