The ideas come from people (or, now, AI). The government funds people and AI, so the government can generate ideas.
Discussion
AI is restricted by the programmer. Example is no company yet in an authoritarian state has replicated TSMC’s product despite a lot of cash and now AI.
Irrespective, more minds thinking without fear of having no possessions or rights (capitalist individualism) will always trump a few minds (socialist central planning).