A comment I oft make about startup layoffs, which is unpopular: (and apropos whether you consider Tesla a "startup")
Reckless decision making leads to positions that are usually unnecessary, so many layoffs in such companies are positions that shouldn't have been hired for to begin with.