AMD has lots of features, but “outperforms Intel at every price point” is definitely not one of them. They don’t even have a product to compete with at the higher price points, and at the lower ones their worse IPC and thermal characteristics tend to make any cost savings a wash over time.
While I don’t think they’re in danger of bankruptcy yet, they’re definitely having trouble keeping up with Intel. Each generation AMD is forced to discount their products even more to compete, and it’s killing the profit margins.
On the GPU side it’s the same story it has always been. AMD puts out fantastic hardware, often better than the equivalent nVidia hardware, but their drivers aren’t as good and the better hardware ends up blowing all of that performance advantage on poor optimizations and bugs. This is why ATI cards are so popular in consoles I think, because the driver issues can be ironed out over a loong time and are much less of an issue when you’re targeting exactly one platform (or two I guess) and the slightly better hardware actually gets to shine.