Although I'd love to see that happen more frequently, this is simply not realistically doable for most commercial games.
Almost all of them use licensed third-party libraries which are integrated deeply into the game's code base, but which can't legally be distributed as part of an open source project. So in order to be able to open source a modern commercial game, you'd have to put in quite a lot of work finding all of your code integrating with commercial libraries and either replacing or removing it. And if that's not enough, you'd probably have to have your (expensive) legal team check the entire code base for any infringements just to be on the safe side.
All that work for no monetary gain just isn't a very good business case. So, unfortunately, I wouldn't expect a lot of modern games to be open sourced any time soon.
I‘d be really surprised if Apple tried that.
They have to know that it violates the DMA. And the penalty for violating it can be up to 10% of their yearly worldwide revenue (not earnings!) for the first violation and up to 20% for repeated violations. I don‘t think they‘d risk that, especially as the EU really isn’t known for its leniency when someone intentionally breaks their rules.