Somewhat ironically, one of the first features you should disable is the Xbox Game Bar. Head over to Settings > System > System components, then click on the triple-dot icon next to Game Bar and ...
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.