Bernkastel
Ask me about my fanboy energy!
All console manufacturers also have that much control over hardware and software. Nintendo's OS is based off FreeBSD just like macOS/iOS. The hardware is also custom made for a Nintendo console. That said Nintendo's APIs are still superior. Nintendo even allows the use of Vulkan, which Apple does not.They have their own API, MetalFX, which currently has upscaling but they will likely add frame generation to the API soon. This is the advantage Apple has in being in control of the entire hardware and software stack top to bottom.
The biggest limitation of smartphones is still that game sizes. The largest game on iOS is Genshin Impact at 20 GB. Devs can't afford to force smartphone players to download a large game. The smartphone has multiple uses. Hence, Witcher 3 is on Switch and not iPhone.