Don't connect your TV to the internet.
I have ~5 years old Samsung smart tv. I've disconnected it from the network almost a year ago.
I have cheap Android tv box for all my "smart" needs, I will probably replace it with a mini pc once it die. Those moves only makes me want more control over my setup.