The tech giant has apologised and said it had swiftly corrected the mistake.