Mattel has apologized after mistakenly printing the web address of a pornographic site on the packaging of its newly launched "Wicked" dolls.