Why? Its what makes them money.
For all intents and purposes the N64 and Gamecube were failures (yes, I know, Nintendo made money and were happy to do so, but in the grand scheme of things, neither machine was very successful).
Hell, Nintendo probably thought the PSP was going to be the final nail in the coffin for them. Sony comes out with some all purpose multi-media handheld that plays "pretty" games and takes handheld gaming to a new level that Nintendo wasn't ready to go to.
So what does Nintendo do? Comes up with something different. Something quircky, something that hasn't really been explored before. They make the DS. Next thing they know the DS is a cultural phenomena in virtually EVERY region while the PSP is slowly being forgotten.
So Nintendo decides they can make lightning strike twice. They make the Wii. They make the Wii and they make A LOT of consoles and boast that their's will be the console you can actually FIND during the holiday season.
Now its looking like you won't be able to snag one easily until after this COMING holiday season.
Nintendo struck gold and they know this. They know they don't have to waste their time coming up with a new machine every 5 years and worrying about being graphically superior than the competition or worry about what features they'll cram in. Nintendo knows they can just throw some shit together, make some fun games, add in a gimmick, and BAM! Everyone buys it.
Its funny really, shortly before and after the DS came out Nintendo always spoke of a three-tiered business model. "The Gameboy line, the DS, and their consoles." Once the DS became the fastest selling console ever such talk ceased to exist and most everyone forgot about it. But if the DS had only served what I imagine its original purpose was (hold off the PSP until Nintendo could make a new Gameboy to compete), then I imagine we'd have a new GB coming soon and the Wii would be non-existent (hell, Nintendo might've just stuck with the Gamecube, or quit bothering with consoles all together).
But thanks to Sony threatening them in the handheld market and forcing them to make a gamble... Nintendo's pretty much found their sweet spot and have it made (and is pretty much in line to dominate the market again). Kinda ironic idn't it? ;-)