This is a crazy idea but... it might end up becoming reality. I don't see Nintendo selling any time soon though, it's been very independent for a very long time, to the point where it was huge when they released some things for smartphones (pokemon go, super mario jump, etc).
That said, Apple's been trying some things with gaming (they pushed gaming as one of the use cases for the Apple TV), but then I realize they already have one of the biggest gaming platforms in the world with the iphone.
The fantasy world where they do a deal with Apple for M2 SOCs (or even just get bought wholesale by Apple.)