Automation can be scaled up and down much more effectively than labor. You just turn off the machines when you don't need them and turn them back on when you do.
But from a financial perspective, most of the cost for the machines is probably in buying the machines, where most of the cost of the worker is probably hourly wage (or similar). Turning off the machines probably saves less money than sending the people home.