Mattel (MAT) apologized for accidentally putting a link to a porn site on a box for one of its dolls and urged parents to throw away the box if they bought the toy.