It is to a large degree government policies that drive US success. For example, the steps taken for energy independence (and then some), or moving manufacturing back, and support future tech - see the current disagreements with Europe about trade, or how they supported private space companies. There is soooooo much policies stuff going on that gets lost in the headlines about more visible things, fortunately, on this very website alone I get to see a g glimpse occasionally. The rest I see when I follow other headlines, such as the mentioned trade disagreements.
You can see the hand of the US government in a lot of business places, trade, subsidies, it's trillions being moved in support of US business interests. And I like what I see a lot more than what I see here in Europe, and I notice that no matter who's president, these things happen regardless.
https://www.wsj.com/articles/american-manufacturing-factory-...
https://www.bloomberg.com/news/articles/2023-04-03/us-and-eu...
The investments into chip manufacturing too, they cost so much this always has to happen with loads of government support, directly and indirectly.
https://www.commerce.gov/news/press-releases/2023/02/biden-h...
https://www.reuters.com/technology/us-require-companies-winn...
> $52-billion U.S. semiconductor manufacturing and research program
You can keep blaming "inept government", but without it the US would be an insignificant backwater. Always and everywhere, since long before industrial revolution, business and government had always had to work hand in hand to create success. England did it, in support of the merchants, later of the new capitalists, Japan did it, South Korea did it, China did it, everybody did it. Very early even the church occasionally played a role, Mendel's famous beans genetic experiment wasn't a random fluke but part of an organized program in support of the textile industry, to find out the rules of inheritance to be able to select the right sheep more efficiently for more and better wool.
Silicon Valley was made possible by government too: https://youtu.be/ZTC_RxWN_xo