Due to the high prices of DRAM and SSDs they now are the greatest fractions of the total price of a computer.
In January I was forced to upgrade an ancient Intel NUC, by replacing it with an Arrow Lake H based ASUS NUC. The complete system with 32 GB DRAM and 3 TB SSDs has cost EUR 1200, including VAT sales tax.
I commented because someone thought that $4K was the going price for 128GB of RAM, which is way too much even with the demand crunch.