From what I understand, they can readily afford to make these bets though. If Switch turns out not to be another Wii, but rather a WiiU, that's no sweat to them and they can easily figure something else out.
Shareholders aren't impressed by "our quarterly losses only burned through a tiny portion of our stockpile", though. The pressure on Nintendo to deliver with the Switch is quite high.