Generally, an ineffective employee gets laid off when layoffs happen. That would surely be a more effective strategy to financial concerns.
So of course they capitalize on that by trying to expand into other ventures. There's only so much money to make by focusing only on games, and around this time Unreal was making huge ventures into the VFX market. Unity still invested a lot more and expanded on games and VFX as well, but you can still see on their sites a few of the many other ventures they dove into:
- Architecture/construction - Automotive - Manufacturing - Energy - aeorspace - retail
And on top of all that they aquired quite a few things in the process. Ziva, Parsec, and ofc a big stake in Weta's own tech. Then right before the fall started that had that whole merger-aquisition thing with Ironsource.
----
It's a practice many US companies employ, and while they may not "anticipate" this, they have an easy solution: layoffs. They don't see these layoffs as a failure (maybe the PR hit from the ad price changes, but not the layoffs), just an easy business strategy once it is no longer convenient to keep growing.
And again, they aren't punished. Almost everytime a layoff happens in tech the stocks rise a bit. They jumped 3% from this announcement. Investors don't see this as a badly managed company move that shakes faith in the product. Just "oh they gonna make for a better earnings call, better invest!". There's no shame in this stuff where there should be (and there is in some EU countries and most of Asia. You can't just layoff 25% of your staff at the tip of your hat in those countries).