WiiU is a total failures and Nintendo has been losing money.
Don't confuse Gameplay with Graphic. The most popular game this generation is not Uncharted or Halo, that title goes to Minecraft. Superior hardware and graphic does not produce superior software.
Nintendo was so far behing in terms of Graphic that their game were in development nightmare and took much longer then anticipated to develop (move from SD to HD graphic). Due to shortage of software, they start producing crapware like Mario party's, MArio Tennis, Animal Crossing: Amiibo Festival, Star Fox Zeo, etc or simply had huge drought between software launch. Furthermore , thier decision to go with inferior hardware cost them the support from most Third party studios.
Wii was the most succesfull home consoles of all time. Fans loved it.
Nintendo problem with the WiiU was software not underpowered hardware. I think you will see that with the NX, Nintendo has modernized their studios to reduce development time on HD/4K games and they will partner more and more with partners (second/third parties studios) and Licenses out some of their key IP.
Sure profits were less but financially the Wii u is not a complete failure but a mild success as they have been making profits off of it and the only time I think they lost a little money was in 2012 and 2013 I think so you are wrong on that account
Just a guy who doesn't want to be bored. Also