Apple said the attacks that emerged over the weekend on celebrities’ iCloud accounts were individually targeted.