My impression: they are trying to appeal to nerds. They assume that nerds like video games, nerdy toys (like the Rubik's cube), and are sexually frustrated. Mash these together, top with brand-of-choice, and serve advertising.
You might get a laugh out of a nerd for all of the obvious nods to nerd culture, but the old image of a nerd is a tired one and won't get respect from many people. I laughed at the Rubik's cube, but otherwise, it felt like a tired, old cliche. Kinda like Pringles.
EDIT: As for Cooking Mama, at least this is a joke many hardcore nerds could appreciate, but as a commercial, it totally loses the message.