This is a big reason that high quality TVs are getting so much more affordable.
There's a lot of reasons like improved technology and efficiency but yeah, the ability to play such targeted ads based off what you're doing is pretty insane and they have a vested interest to sell at less profit.
And at the end of the day the amount of people who are willing to just not connect their TV to the internet in the first place or find a way to circumvent them is low. Like it still shocks me every time I see a YouTuber not have adblock on.