If Microsoft did decide to abandon the console market (and I think it would take the Xbox not making any money for 2 full years, including software, licensing and gold subscriptions), I think they probably would approach Nintendo as a buyer for the division (although probably not on such generous terms as in OP).