PiHole[1], with the default adlist/gravity configuration, actually works pretty well for removing ads from my LG smart tv from about 3 years ago. Doesn't keep it from updating, but you can easily configure pihole to block whatever domains you want
Some TVs have gotten wise to this, and are using IP addresses or serving ads from domains that are also needed for things like installing the various apps like YouTube/Netflix.