I'd say that the foundation Steve Jobs left (Mac, iPod, iPhone, iPad) was pretty damn important to that success, considering they still have essentially the exact same product lineup.
Same goes for MS, Windows, Office, Xbox did not all come about after Bill Gates' departure.