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.
Presumably they think that, whatever chance they have of becoming kings if they get there first is more than the chance if someone else does. In we get AGI, we is doing all the work.