Real world example
Last August I purchased a NUC style mini pc with a Ryzen 9 processor, 1 tb of storage, and 32 Gb of DDR5 ram for $399. The equivalent machine now costs $640. Looking on Amazon, the memory alone is close to what I paid for the entire machine. Also, many of the newer models are listed with 24 Gb instead of 32.
I guess if it dies I can recover my cost by just selling the memory sticks.