to add something useful, if your TV has a side panel of buttons, apparently sometimes static charge builds up and causes it to do fucked up things. I have a TV that randomly switches input selector on despite nothing touching buttons. I read a lot of people with this issue that if you press the button on the side a bunch of times it fixes it, which it ended up doing in my case. It came back like 6 months later and I just jammed the side input selector button like 100 times, been gone since then again.
so in short, if you usually use your remote all the time, try pressing the power button a bunch of times on the side and see if it stops?