I can't even humor this hypothetical. There is a greater chance of Apple going bankrupt than of seeing Nintendo's ALWAYS HIGH SELLING first party titles being made/owned by another company.
The Wii U is struggling yes, but even the first party titles on it have begun to cross the 1 million sold line (which is saying something considering the console has only sold 5-7million right now). They have a ton of reserve cash, and they would sooner leave the hardware business and sell their ip's on other platforms than they would go bankrupt and lose their ip's all together.