It's better not to connect the TV to the Internet at all. This will solve most of your problems. Use a Linux HTPC to stream content (not an Apple box, they collect telemetry and profile users like others).
KODI is terrible for streaming and operating systems built around it are far too limited. For now the best option seems to be a plain Linux desktop, upscaled, and used with an airmouse remote. Keep an eye on this however: