My belief is that a large company (with dividends) are the most hopeful of surviving and thriving over a 30 year period no matter what happens.
Lets take, for example, Colgate. The need for toothpaste only increases year after year as the population increases.
I dont believe Colgate or Clorox will ever go out of business. How can people go without toothpaste and bleach?
On the other hand, Google and Microsoft are different stories. Technology will be radically different in a 10-30 year period. The demand for Google and Microsoft will eventually decline as someone invents a better internet search or a better operating system.
I have been buying Colgate toothpaste my entire life. Sometimes I go for other toothpastes, but eventually I always get back to Colgate. There isnt much competition in the toothpaste industry.