Apple TV Remote started interfering Sony TV
I plugged my Apple TV remote in for the first time in many months (maybe 6). I don't use the apple TV or remote much (mostly to cast screens to the TV and occasionally watch apple tv+ content). After it charged for a couple of hours we noticed that the TV started shutting off. After 8 hours of diagnosing, including wiping the TV back to factory defaults, and moving the TV to different locations we identified that the apple TV 4K remote was sending IR to the Sony TV. If we covered the IR on the front of the Apple remote control the TV issues stopped. We can see this cause the TV has a light that flashed whenever you press a button on the remote. This light was flashing almost constantly with the remote in the room. If a take the apple remote out of the room or put my finger in the front covering the "black" area at the top, this flashing stops and the TV goes back to normal.
TV - Sony XBR65A1E, Android TV 9
Apple TV 4K
Like I said if I cover the remote or move it to another room these issues go away.