That definitely happened with GPUs back when bitcoin could be mined with GPUs. That also has happened with RAM recently as well.
Also, after a while certain enterprise hardware ends up being worth a fortune as desperate IT guys try to buy stuff as spares for a critical system that haven't been upgraded for whatever reason.
Then there's stuff like Raspberry Pi's, though they aren't really a computer part per se. That being said, computer parts occasionally do sell used for more than their list price.