Cycles tend to be 5-10 years long not 25. Without knowing anything else I would expect a fab you seriously start planning today will be at full capacity in about 5 years. Nobody serious likes delays - in particular the banks don't like loaning money that won't at least start paying off. They know it takes some time to design a building - but factories typically are standard buildings so once you know about the size you can get it done fast - I expect 1 year to have the building done is the worst case (and it can be done in 3 months possibly if your project management is good - after interest this is cheaper than the 1 year). It takes time to build and install the specialized machines that go inside - this is the largest problem, but you typically order them first and then plan the building around the needed space and when they will arrive. Then you need 6 months to setup the inside of the building. From there it is just ramp up time.
The above is a standard project management problem. We do this for lots of industry all the time. There is every reason to think you can get a new factory running in 5 years.
Note that I said 1 factory above. Some of the special machines we don't have the ability to make them fast enough to do 2 (I don't know the real number!) new factories in 5 years. Existing factories are using most of the special machine capacity to replace machines that wore out on the way - this can be corrected as well, but it adds another year and the expenses are much larger. Realistically though 1 new factory is likely enough.