HDMI-CEC is a poorly implemented standard. Some devices, especially older ones, don’t play nice together. If it’s not working properly for you just leave it disabled.
Apple
A place for Apple news, rumors, and discussions.
You might need to use a process of elimination to figure out what (if any) other device in your HDMI chain is causing the issue. Such as unplugging other devices, connecting the ATV directly to the TV. Or disabling CEC on other devices. I had issues once with my Marantz Receiver when network control was enabled.
Sounds like one of your remotes (not necessarily the ATV one) may have shit the bed. I'd try removing batteries from them one at a time and see if the problem goes away.
First thing I would try is a different HDMI cable, also leave the TV unplugged from power for a little while so it does a fresh boot up.
See if the TV has any updates you can run.
When was the last time you charged the remote?
Last week