The macOS Dock displays apps you add to it or that you run. Here's how to make it display only apps that are currently running on your Mac. The macOS Dock app originated in macOS's early OS precursor ...
You can delete apps on your Apple TV if you aren't using them, and then redownload those apps for free later.