That's not the problem. The problem is that the revenue will flow to the US, and when those US companies are taxed, this will at most pay for an UBI for US Americans only. Which will mean the US gets very rich while the other countries get very poor, because there is no large AI company to tax.