How Apple managed to lose its new iPhone