Have you got an alternate 4k hdmi lead just to rule out this as the issue (if not amazon basics 4k hdmi lead is very cheap). Also try it in different ports in the TV. Also have a look at the hdmi port of your xbox (take a photo of it with your phone and zoom in) check if any pins are bent - if so bend them back gently with tweesers.
If not the fault will either be with the main board (ms repair required).
The internal drive - search youtube for videos of how to clone the internal drive and how to replace it - not easy but doable.
Use EaseUS Partition Master to clone data to an SSD and securely wipe the old hard drives: https://bit.ly/48EIaJoIn this video, I will guide you step-by-step...
youtu.be
The power supply - replacement video below..
Repair guide on how to replace the power supply in the Xbox Series X game console. Replacement PSU part number M1109865-006.Buy tools on AMAZON:Screwdriver S...
youtu.be
I did find this guy who bought a broken series x with a similar fault to yours and managed to fix it. He seems to enjoy repairing it so it may be worth reaching out to him to see if he would repair yours.
Amazon Affiliate LinksBeginner Soldering Setup (US) - https://amzn.to/3Hf4IVuBeginner Soldering Setup (UK) - https://amzn.to/3zsHJmaMy Soldering Setup (US) -...
youtu.be