If you’re in the the US, file a police report. If for anything documentation (and local crime statistics). I’m sure there won’t be any real investigation, but it does help identify patterns.
Also, when/if you choose to file an insurance claim, you’ll have a police report number. Which may or may not help grease the wheels of the claim.
It’s just that the license isn’t transferable. The second owner has to (re)license the software from Tesla. Irrespective of whether the seller has a “perpetual” license.