Apple’s widespread outage disrupted iCloud, the App Store, and Apple Music. Here’s what caused it and how to troubleshoot lingering problems.