What was deleted was the compiled file sent to Tesla, not all the bits of data that it came from. Nothing malicious in that, just code not leaving trash around.
Let's not be naive, or deceptive, about a malpractice from a multi billion company owned by a multi billionaire.