There are industries built around project based hiring, do the work, lay off the team. They don't tend to have lingering costs from payroll after the project is done.
Is your real question, can cost cutting fix a business? The answer is sometimes. But if nothing else, cost cutting can sometimes keep a business afloat for longeer. Depends on the company. Cutting costs usually also results in losing revenue, if you can cut more costs than revenue, that's a win; if you lose more revenue than costs, it's not helpful. There's also often a lot of one time costs during layoffs, and those costs are unlike to provide any revenue.
Long term does company A that tends to layoff frequently vs company B that tends to avoid layoffs and cut costs some other way - is there a difference in medium and long term performance?
Simple really. Team of 5 engineers and one SDM. Minimum pay on the team was over $200K, with the manager closer to $400K.
Laid off the whole team. Put their service in KLO and handed it to another team to support.
Over $1.5MM in payroll savings alone. Easy peasy.