Occasionally, yes? It remains unhelpfully melodramatic to talk about layoffs as equivalent to murder.
Our society has a variety of safety nets to prevent this from being the case. It might need more or better safety nets! You can make this case! Nevertheless, I would opine that it works better when this happens at the government level (paying someone unemployment insurance) rather than at the firm level, for a variety of reasons.
"If they would rather die," said Scrooge, "they had better do it, and decrease the surplus population."