It has been since long ago. To my knowledge, Nintendo never priced their consoles below production cost. Sure, the “profit” is minimal, and completely unsustainable without selling games (and a LOT of paraphernalia), but is not a “red” part in the ink of their balance sheet.
Whereas the PS3 was a weight dragging down…