AI demand has spiked memory prices, making PC upgrades costly. Here is how to decide if you should fix or replace.