Consoles last longer than PCs because console developers are constrained to existing hardware. Whereas PC developers can move forward with new technology.
Since consoles can go 5+ years between releases, they last that long. PC components are generally released yearly.
Moral of the story is, its a never ending battle to keep up with PC gaming. Buying the absolute best tech today only delays the inevitable a little bit longer.