That's true, though the real profits aren't in the consoles but in the games.
Nintendo is a consistent money maker, and their market share has been going down for a long time but that's to be expected when you start out with 100% market share

I don't think they're in trouble, though they could use a shot in the arm market share wise.