Paying severance to staff you decide you don't want is much cheaper overall than losing staff randomly, which will include your higher performers.
It's not a plausible explanation for Musk's actions. I would be inclined to take his word at face value, that he genuinely believes that remote work is less productive than face to face work at Tesla.