Mattel has apologised after it mistakenly printed an address for a porn website on boxes of Ariana Grande dolls.