I know about this, it's a very common phenomenon. Because the electrical components responsible for receiving the controller are WiFi modules installed outside the machine. This module may cause controller connection failure due to unstable voltage and other issues. You can buy a disassembly part from a second-hand dealer and follow the disassembly steps of Xbox One to replace the WiFi module.