Yes but countries are run by governments, which are composed of people, who can be bribed. If you believe that AI will make you the richest person in human history, you presumably can see that the problem of government can be solved with enough money.