According to your logic, AMD was also dead a few years ago.
AMD is the exception, not the norm. There are very few companies that can do that turn around. And AMD was lucky that Intel wasn't able to continue their progress. Had Intel still been ahead of AMD, AMD's revenue's wont be growing.