I think you're confusing hardware sales with software sales. While the Wii may be close to number one in hardware, they're dead last in software sales. Basically, people are buying it for parties to play Wii Sports and the like.
Personally, I think the Wii is this generation's Pong machine. It's bought, pulled out for parties, and spends most of its time gathering dust. And I love Nintendo.