IIRC, Microsoft paid 5 billion USD for Mojang several years ago now. They’ve added tons of mtx to bedrock (and neglected Java because it’s harder to monetize I guess)
Then there’s story mode and dungeons.
But 5 billion is/was a lot. Do you think they’ve brought in that much since taking over?
You’re also forgetting merchandising, which is probably one of the biggest money makers. I wouldn’t be surprised if they have made it back already, but given that MC shows no signs of stopping anytime soon, they’re practically guaranteed to eventually