GPUs do last 4-5 years. All you have to do is figure out which settings you'd want to tone down. But yes, don't expect to play AAA titles 3-4 years down the line even on medium configuration. That statement also seems a bit vague since "medium" is rather arbitrary.