As far as bang for your buck goes, an Xbox One would be better.
Consoles are like that because everything between them is standardized and produced in bulk, whereas an equivalent PC will cost you ~$800-1000.
A decent gaming computer will cost at least $600-$700, assuming you have a monitor, speakers, etc. Right now the PCs I have seen that surpass consoles run for 1000-2000, depending on how much overkill you want.
To give you an idea of it all, my computer cost me $450, with the monitor, speakers, keyboards, etc adding another $275, and I can play new releases on high/medium. Focus on a great GPU and CPU, the rest should revolve around that.