Not true in comparison to other job types. I think engineers enjoy on-boarding the least. If you have 5 jobs in 10 years, that's 5 periods (about 6-9 months) of being "the new guy" and (a) performing at a suboptimal level, because you're learning idiosyncratic details of a closed-source tech stack, and (b) being unlikely to get useful projects because, no matter how good you are, every organization's going to put new people through a dues-paying period. That ends up taking 3-4 years out of your career, time essentially wasted on learning parochial details of internal codebases rather than getting better at the craft in general. Not fun.
Engineers move around so much because they have to, not because they want to. Wages are too low relative to housing costs, and advancement is often political, and interesting projects are too thin on the ground because engineer-driven companies are a rarity.
It's not like Google and friends are the only tech companies in the world. They simply cannot really screw over engineers. All they can do is bargain. Everyone bargains in trade and tries to get the best price.
We say this now, because the industry is growing so rapidly that it's hard to feel shafted given the sea of opportunity.
But being shafted is independent of whether or not you could've found another job elsewhere; the agreement they made prevented engineers from being able to bargain to their fullest extent.
Except when he does something illegal that leaves his company vulernable to a massive class-action lawsuit from his own employees. That doesn't seem like the right thing for his company and his shareholders.
Plus, in order to get this conspiracy off the ground and keep it running, he had to produce documentation of the conspiracy that would be embarrassing and possibly incriminating when it was made public. I'm not sure that he did the right thing for his company there.
It's now clear to current and future employees that he has conspired against them with other companies. That doesn't seem so good for his company either.