It's also a product of marketing. Look at Nintendo's marketing for Switch:




Also look at where Nintendo is marketing -- the NFL Superbowl, college basketball Final Four, before R-rated movies like Logan, getting someone like John Cena, etc. etc. etc. All this paid off big time for Nintendo.
It makes a big difference when you don't market your product like a child's toy.







