Because the areas where Intel stumbled wasn’t design, it was their manufacturing being behind, something tsmc does for AMD.
For example, the chiplet approach that AMD embraced allowed AMD to put together far more powerful CPUs, i.e. with more cores and at a competitive price, than Intel could.