And technically Musk was not the wealthiest man in the world when he bought Twitter, because he didn't had that much cash laying around in his bank accounts. And yet, when wanted, or more precisely put in corner to do so, he did shit 50 billions and bought it.
OpenAI is Microsoft, technical details don't matter here, only money.