Apple's greatest triumphs and worst failures