The problem isn't the engineers but the management. There are plenty of smart and hard working people in the US.
Its ridiculous to believe that GM is fundamentally unable to recruit software people. Tesla did it just fine, as a small company with less money. Its rather management that systematically for 30+ years has considered software to be unnecessary and pushed it as far down the supply chain as they could.