On Apple TV, the Music app is for use with an Apple Music subscription, as it is all cloud-based.
To listed to your music on Apple TV via Home Sharing, use the Computers app instead.
For iTunes on a computer, or Music app on an iOS device (iPhone/iPad), you can turn off the Apple Music features in Preferences/Settings.