I have a Samsung 4K TV and a Samsung sound bar/subwoofer set with my Apple TV. Occasionally I will also have the issue you have - the Apple TV remote will turn off both or will just turn off the TV. What I do to “fix it” is use my other remote to turn them both, then turn on first the TV and then sound bar setup. The next time I use the Apple remote to turn off the Apple TV it will start again turning them both off. But it won’t turn them on. Have to do that separately with my other remote.