Apple has said its investigation into the recent naked celebrity photo leak shows that accounts were compromised by "a very targeted attack" on user names, passwords and security questions, and was not the result of a broader attack on its computer system.