Because Intel had full control of their own design and fabrication. And while they had problems advancing their fabs, they also could have bought some TSMC 7nm capacity if they wanted to. That's fair. On top of them earning a loss by sticking with stagnant designs for so long.