Many people have Android TV on their TVs, or boxes like Nvidia Shield.
While a Raspberry Pi is a pretty simple way to get Linux/Kodi on the TV, getting it to integrate well is a whole other story. (Remotes, CEC, other services like Netflix, etc.)
I'm your typical Linux hacker of 20 years, but even I switched from Raspberry Pi to Nvidia Shield a couple years ago because the pain of using and maintaining it is so much lower for an interface that should be as simple as "pick and play".
Funny you should mention that. CEC integration is much better on the Pi than on the shield IME. Kodi can't detect other CEC devices and allow to configure its behaviour on the shield (like pause video when switching channels on the TV, control what to do when sleeping, etc).
Likewise with remotes, they work as well, if not better, on the Pi (you can even solder an IR receiver or emitter if you want).
Of course, Netflix is another story, but that's because of DRM, and I decided long ago I wouldn't use any service with DRM.
For me, I use a Shield because of the technicals. It‘s currently the most complete solution if you want dolby vision/atmos capable playback with local stuff (plex/kodi) and streaming services. The shield pro 2019 is also the only box that manages to play 100gb+ 4K stuff without issues. Most people don‘t care about that though.
While a Raspberry Pi is a pretty simple way to get Linux/Kodi on the TV, getting it to integrate well is a whole other story. (Remotes, CEC, other services like Netflix, etc.)
I'm your typical Linux hacker of 20 years, but even I switched from Raspberry Pi to Nvidia Shield a couple years ago because the pain of using and maintaining it is so much lower for an interface that should be as simple as "pick and play".