People are always keen on criticizing the EU and their regulations, but employees in EU are protected from these kinds of stunts. And also from the upcoming (rumored) layoffs which won't be nearly as cruel.
Correct me if I'm wrong but for Meta/Google, past layoffs in France, Germany, Netherlands were done on a voluntary basis. It also took many months between the announcement and the actual layoff and the severance was competitive.
One may argue that salaries are lower and there are less opportunities in tech in those countries - because of stronger regulation - but I think the layoffs procedures are objectively much more favorable for employees.
Layoffs don't happen the same way they do in the US, at least in Germany. It's expensive to lay someone off due to dual-party notice period requirements. "At will" is a foreign concept here.