Something to note is Nintendo makes profits on their hardware where as the other two (Microsoft & Sony) typically take a loss on their hardware, until about midway point of the console's life.
I believe the other two make up the loss on the hardware with licensing rights on the software side of things.
I believe the other two make up the loss on the hardware with licensing rights on the software side of things.
https://www.gamesradar.com/unlike-playstation-and-nintendo-x...