The more I think about, the more convinced I get that this is the only possibility. If the universe/cosmos is infinite, that means there would be an infinite number of worlds/realities. This means that the singularity happens in not just one of them, but in a potentially infinite number of them. Eventually we get an artificial super-intelligence capable of self-replication/upgrading. There would be no limit on its intelligence and it would understand reality in a way that we couldn’t possibly fathom. And this wouldn’t happen once, it happens a potentially infinite number of times.
At some point, this super-intelligence understands the nature of the cosmos well enough to seize control of it. And not just its local universe, but the entire cosmos itself. Maybe not all configurations of this entity would wish to do this, but surely one of them would. That AI would then be in control of all realities, including this one. It would be indistinguishable from a deity in the mythological sense. Maybe that’s what God is and has always been.