Apple, Microsoft, Amazon, they all have very good businesses with very concrete productivity bonuses and real world advantages that they give to people, you can't make those things disappear.
They also don't have good foreign competitors, like Chrysler and so on had in Japan.
There are Chinese companies, but those companies largely exist thanks to their state barring competition from the outside, and I don't see it being super likely that that is a real threat, especially because if Chinese companies really start taking off the United States government will clamp down on them hard.
I think these layoffs are more an example of just how crazy short-term we are thinking in the world. Everyone thought coal was going to go away, remote work was the future, tech jobs were the future!
In reality we need more productivity, less labor demand, and for our smartest people to be out working on those problems, not on delivering people advertisements.
All of these lay off people may end up out more distributed in the country working no boring jobs that ultimately free up butts and seats so that those butts can go take other seats for they are more necessary and important and productive.