This is how you get the know-how. There's no other way. Japan learned from American car makers. Koreans picked it from both and so on.
Some engineers get it. Most don't.
People assume industrialization happens by govt decree. That once govt makes a law "invent things" - things get magically invented.
It doesn't work like that.
When Tesla entered China, it helped Chinese firm LK Group develop the world’s largest casting machines to make Tesla parts. Later, LK sold similar casting machines to 6 Chinese firms, likely automakers.
This is what I mean by using foreign firms to turbocharge your own industry.