A similar trend occurred with the MD-11. Only a hundred or so frames exist, the last one built in 2000. As a passenger airplane, it was not great: high deck angle in cruise, noise, and of course poor fuel burn compared to projections. But for freight, its nearest competitor is the 77F. A few years ago when I was looking into this, a used MD11 frame would go for around $3mn. With a D-check you could have it flying again for an all-in cost of maybe $10-$15mn and it would last another 10 years. The 77F lists for around $200mn. Thus, even though the M11F is far less efficient than the 77F, it would be 10 or more years before the fuel costs would make up the difference in initial outlay. This is why the MD-11s are still flying.
Passengers prefer new planes, but cargo doesn't complain!