They've always been conspicuously behind the times basically since post-SNES days, both technologically and socially. The handheld market has been a big win for them thus far but as mentioned, smartphones / tablets are cutting in to that now and that's only going to get worse as more and more great games hit the Android/iOS market (most classic FF games are on there for example, more even than on PC yet goddamnit). Wii was a resurgence but it didn't really last, WiiU bombed, NX seems iffy at best. Even Microsoft is hedging their bets now in the console market by basically trying to push a shitton of their games to W10 simultaneously as Xbone. To me, PS4 already stands alone as THE console-gamer's console. I haven't bought one since... the Wii, actually (which I sold after a few months and beating those nice 1st-party games) and I'm probably going to grab the PS4 for GoW4/Detroit/Horizon/Rock Band.
Nintendo's best offerings continue to be their software and it's baffling that they still won't transition to making it for other consoles or PCs. It's not like they give up creative control or have to revamp their style, and it gives them a bigger audience and more potential if anything.