Apple said an internal update caused widespread outages affecting iCloud, the App Store, Apple Pay and other services, while denying that a cyberattack was responsible.