Especially when firing in lots of 1000 at a time, you’re going to make a mistake.
I read an analysis from a guy who used to work at FarceBook and he claimed Tweater could run it with about 200 programmers.
I suppose a lot will depend on how much Musk is changing the system. And of course software outsourcing is widespread. You can have thousands of contractors and few direct employees.