The simplest answer is to buy a quality TV and not hook it up to WiFi, and use another smart platform. HDMI CEC works pretty well to discard the garbage TV "smarts" and replace it with something Android-based, Apple TV, or something else HTPC/free open like Jellyfin or Emby.
I have a Sony Bravia with an Android stick and Samsung QLED with an Apple TV. Less ads-ish and spying, but not totally out of the walled gardens. Already have a Plex lifetime and shoved stuff on a RAID10 NAS, so I'm okay with it as-is. I like that remote UPnP-basted casting works, at least with my login. Maybe Jellyfin or Emby have slight advantages in some areas, but it's the devil you know™.