Tesla’s cars may soon keep your pets safe, too