The 4K 144hz you get on the Xbox Series X is almost certainly lower graphics settings than you could run at 4K 144hz on the RTX 4080. I don't think the difference is enough to justify the price difference but comparing resolution and framerates isn't apples to apples.
And you'll still be playing the same game. If you want to spend almost a thousand dollars so your game renders more eyelashes that's your choice. My point is that NVidia's pricing is making PC gaming inaccessible to people who don't have wads of disposable cash to spend on diminishing returns. I would strongly recommend anybody who's looking into getting into current gen gaming to steer clear of playing on PC as the pricing of PC components is completely out of control and console pricing is looking increasingly more reasonable.