An obscure football manager in Scotland once said this in a televised interview "statistics are like mini-skirts - they look good but hide the most important part"
Not saying it's the best quote ever but stuck with me for the sheer randomness factor.
I think it applies here, PSN could have more revenue than Nintendo, but how that actually translates to profit is unknown and is really the only thing that matters. Revenue for show, profit for dough!
The following numbers cover April to December 2018, as opposed to the entirety of calendar year 2018 like other numbers in this thread. I am being lazy and can't be bothered to search for the missing quarter that is accounted for in different financial reports.
Sony operating income - 247.2 billion yen
Nintendo operating profit - 220.029 billion yen