Hell, the only two people I see in this thread that claim hardware experience are saying that it's a better career move to switch to software.
Software is easier, pays better, and has far better employers. Until hardware companies realize the situation they've created, they will lose their workforce to greener pastures.
I’m pretty sure the USA would do fine in the semiconductor industry in a short while if it was economical (i.e it stops being profitable to undermine American workers with cheap overseas labor).
To take your photolithography example though, I know someone who went litho tool owner -> camera team at Apple -> Meta reality labs. FAANGs want semiconductor process engineers just so they can spend all day yelling at underpaid Asian vendor semiconductor process engineers who are doing the actual work.