This isn't going to improve until Apple gets a leadership overhaul. Look at the current executive team, it's all a bunch of boomers who think "gaming" is candy crush and farmville.
Their Mac announcement was basically a catch-up release to get DirectX working on Metal roughly as-well-as the Open Source Vulkan translator. If that's not an apology release, I don't know what is - it feels pretty clear that Apple's obsession over platform control has hamstrung game developers. They could have been a Steam Deck, but they chose to be a Steam Machine.
The unfortunate reality is it is also not 100% up to Apple to fix the issue.
Windows has a very strong grip on gaming and you have to convince consumers and developers that it's worth it.
The Steam Deck kinda got around that with Proton but it also means that if that becomes the norm for anything other than Windows, it is only fixing one of those problems while developers still continue to target and optimize for the main platform (Windows)
Apple had a shot at dethroning DirectX when they helped Khronos write the Vulkan spec. They eventually abandoned it in favor of Metal, but things would look very different if Mac, Linux and Windows all shared the same GPU APIs today. Even without Macs, both Windows and Linux have functional DirectX translators that MacOS could have also enjoyed for the past half-decade.
Part of the problem is dethroning Windows. The other part of the problem is not being so greedy that you make Microsoft look reasonable by comparison.