As long as the car's Tesla account is undisturbed, Tesla wouldn't know there's a new owner.
Service center would compare the Tesla account's phone number, VIN, name, credit card info... against the person who shows up for service and of course, that would alert Tesla that those records don't match.