Somewhat ironically, one of the first features you should disable is the Xbox Game Bar. Head over to Settings > System > ...
You could run vibe-coded, side-loaded projects on your TV to disable its more intrusive features, but you really don't have to. Here are several easier ways to minimize ads and stop tracking.