Companies already do tons of that, but you can’t teach a 70 IQ gang-banger to program, in most cases. I was with the state workforce center (fka the unemployment office) in a Midwestern state and we had all kinds of programs for youth, welfare recipients, minorities, veterans and etc. in conjunction with community colleges, unions, state schools and high schools.
The best source for labor to train are those students with solid B averages, good disciplinary records, and wanting an alternative to college debt. Unfortunately, they’re now being steered into college programs where they won’t necessarily have job skills and will have massive debt. I’d assume that if tech companies were forced to hire US workers, they’d look at that excellent source of workers and train them themselves.