Transformers is the most famous example. Characters would be killed off and replaced to boost toy sales.
Still, there's a difference between a show where you make the toys and then get the nastiest animation done to create a 22-minute advertisement; vs making a halfway decent show and flogging some merch on the side.
In other media, one might compare the original Star Wars trilogy with episodes I-III.
http://simpsonswiki.net/wiki/Mattel_and_Mars_Bar_Quick_Energ...
I was a kid at the time. I was shocked. I cried. About a fictional cartoon robot. I didn't feel that way again until that jerk Whedon killed Wash.
The result was that since the reaction to all this was rather severe, kids were devastated, that they actually changed the storyline in the GI Joe animated movie they were producing at the time. Duke was supposed to be killed in that movie but changed it so that he actually survived instead. Of course, they show that he survived by just adding in a background voice at the end of the movie saying that Duke was going to be okay! If you watch the scene where he is injured, with the idea he wasn't supposed to survive, you can tell by the way the scene was animated that he clearly dies right then and there.
On a side note, most of the time none of the GI Joes would be killed in the comic book, just faceless Cobra soldiers. But I remember one comic where a few of the Cobra soldiers commit mass murder by shooting up several of the Joes that were being held prisoner in a pit. As usual, older characters to be replaced by newer ones to freshen up the toy line I suppose.
[1] http://www.imdb.com/title/tt0087225/?ref_=fn_al_tt_2 [2] http://www.imdb.com/title/tt0089110/?ref_=fn_al_tt_3
Teenage Mutant Ninja Turtles (had lots of turtle toys when I was a kid). My brothers and I would mix them in with other random toys, like Lincoln Logs and do cross-overs. Nothing wrong with cartoons and marketed toys in moderation and expands creativity if done right.
Even The Simpsons had toys and games.
This isn't anything new or particular to children's shows from the '00s; this has been going for the entire lifetime (or longer) of many HN posters.
Wikipedia has a compendium of TV shows for kids that are tied into toy lines, over the last 30+ years:
http://en.wikipedia.org/wiki/Template:Toy-linked_animated_an...
edit: On doing a little more reading, I didn't realize that this was actually banned up until 1984 when the Reagan FCC rescinded regulations on children's television. Those regulations had previously banned "program-length commercials," a category under which shows like this would have fallen.