I think it's about two years now. I had to replace CPU because my previous one got fucked by OC.
I went all out, so I think this one will last me another good 3-5 years or so. I'll probably plop in 3k series Nvidia GPU down the road to make it last 5 years total.
Current specs are i7-9700k @5GHz, 1080Ti, 32GB RAM @3400Mhz and a bunch of PCIE ssds.