The previous government was in power for 14 straight years. The current (useless) government only came into power in July 2024. Yes, I think the previous government should have some of the blame. Just to add, wind turbine factory investments have failed for a few other reasons too. One local to me fell through because it was no longer economically viable (local competition, low margin, and of course cheap imports)
Chinese company Ming Yang was planning to invest 1+ billion to build a factory in Scotland. They were going to be the local competition. UK government has just officially refused to approve it. This is a government decision based on politics and lobbying from other interests (US gov and EU competitors) and yet another U-turn for the government (as apparently gov was initially keen...).