Yes, because the Wii U didn't have enough of it's own major games ready for a 2012 launch date, among other problems.
If Nintendo had supported Wii even longer then WiiU would have even less games ready.
Nintendo only took Wii out of the market when it was barely selling anymore, but SW support they removed long earlier and that is a possible cause for the sales of HW to plummet so hard.
duduspace11 "Well, since we are estimating costs, Pokemon Red/Blue did cost Nintendo about $50m to make back in 1996"
Mr Puggsly: "Hehe, I said good profit. You said big profit. Frankly, not losing money is what I meant by good. Don't get hung up on semantics"