IMHO, the problem is not only about profitability, but also about building the plant and establishing the related machinery and production parks. Especially when you get into areas like photolithography, there are very few organizations that design and manufacture these machines, and 1-2 of them are far ahead of other examples in the world, and all the chip factories in the world use these systems. There's no doubt that Korea is making huge strides in this area, but the semiconductor equipment industry is still very much a non-competitive area because of it's a strategic area with political significance: it's very difficult to move forward without gaining significant political backing on a global scale.US and its western suppliers arent the only player in semiconductors. We can sway places like Korea and Japan to move their less cutting-edge fabs to Turkish soil. That would be a good point to start buliding expertise and develop the link between Turkish academia and the semiconductor industry in general, which will inevitably lead to domestic breakthroughs.
And if all else fails, there's still China. They might not be in the cutting edge, but they're pretty damn close.
Even just money and state support may not be enough. As in the case of Russia. What I mean here is not the militarily of course, but the consumer market. Examples like Taiwan, Japan and Korea are already countries that the US is supporting to break Chinese pressure on this industry, and more will follow as China increases its pressure on Taiwan. Because as you know, China's policies on the market after Covid created a cold shower effect on the US side.