The main problem is that Taiwan already exists, and is very good at making semi-conductors.
I know nothing about semiconductor manufacturing so lets say I make widgets. I'm very good at making widgets, been doing it decades, and now have factories full of people making widgets. I've basically got a local monopoly on it.
My next door neighbour Steve thinks he'd quite like to make widgets too, as I'm doing quite well at it.
OK, his first problem is raw materials. I make my widgets from thingies and hoojimawhatsits, and I'm basically buying up all the thingies and hoojimawhatsits locally. Steve tries to horn in on my suppliers, but they're already selling pretty much everything to me, and I'm a safe bet. We've got a longstanding relationship, and they know I'm going to pay them. They'll happily sell whatever excess they have to Steve, but it's not a lot, and they'll likely charge him more for them.
Now we're on expertise. I have all the widget makers on my books. Steve has a rough idea of how to make them, but I've got all the infrastructure and skilled workers already. Steve could maybe tempt some of those workers away, but he'll have to pay them a hefty pay jump to relocate, and they're still going to be wary of it. What if Steve goes bust and they've burned their bridges with me.
So Steves got higher costs for raw materials and expertise, and he's still making lower quality widgets that me. So his next problem is buyers. Again, I've already got all of them. He can try poaching some of my customers, but whose going to switch to an untested company who sell worse quality widgets at a higher price?
None of those problems are insurmountable, but they take decades to sort out, starting small and improving, and you've got to keep your semi conductor industry afloat through all that time, with Taiwan offering a better, cheaper product.
The only way for a government to ensure that is to either subsidise the industry, or make British companies buy British semi-conductors. Yes, in the long term its better for the security of the UK, but in the short term, you're forcing companies to use and in turn make inferior products for a higher cost. And thats a hard sell in terms of votes.