From a Californian garage to a global giant, the Cupertino company reflects on five dizzyingly creative decades