Read Chip Wars [1]. The cost to stand up an advanced chip fab has reached tens of billions of dollars. It’s so capital intensive that even the US Department of Defense has exited the game.
[1] https://en.m.wikipedia.org/wiki/Chip_War:_The_Fight_for_the_...