That consoles value is fantastic has alot to do with them being essentially 2019 mid-range machines in pc terms for the most. 10TF RDNA2 gpu which is ballpark 3060/6600XT, low clocked zen2 3700x, 16gb total ram and a small SSD. Value all of a sudden is much better, but also then your on low to mid range hardware from the 2020 era.
The strength of the console is that its fixed and they make tens of millions of them. But at the end of the day its also just an unchanging piece of stone and thats its down side. So a xbox series x in 2020 is great compared to the hardware of 2020 when you factor in price and everything. In 2022 it might be loosing its edge there , in 2023 / 4/ 5 and so on it will fall way by the way side. Then if you do buy a mid gen replacement nothing form the previous machien is really usable. That built in 1TB sdd ? Junk , all that ram ? Junk .
If in 2020 you bought a ryzen 3x00 with a mobo and 16/32 gigs of ram and a video card and an nvme drive or even a regular ssd drive well in 2023 if you want to upgrade you can grab a ryzen 5800x3d and you still use that mobo ram / nvme / ssd drive. That power supply and case are still good too. Maybe you drop money on a new video card also.
So if we take that console and say well we need to drop another $500 for its replacement and start fresh maybe the value prop is still good. But at the same time you can take that pc and upgrade only the parts that need to be upgraded.
The real struggle is as the generation goes on that console will slowly play the new games worse and worse compared to a pc that you can keep ugrading