It is still way too ridiculous though. From the Mac Mini pricing, you can get two base model with the price doubling storage and RAM. It almost looks like the M4 is gifted to you and Apple is selling you RAM and SSDs
About 15 years ago when I used to sell macs in a third party store. I proposed to management that we run a promotion where we give the mac pro for free if you buy the max ram. Even selling our third party max ram at a 30% or so discount on Apple pricing would have left room to cover the mac pro cost and a healthy margin. Basically Apple has done this for a long time, its just become harder to avoid.
There was also a good 5 year period around 2006, when it was cheaper to fly return to the US from Australia and buy the full adobe creative suite that it was to buy it off the shelf in Australian pricing.
Ultimately, it's their job to make money. They are constrained by competition and market demand. I dont think there is a good argument that there is no competition for apple laptops, there is tons. You can equally look at some of the workstation level GPUs Nvidia sells and complain about their pricing. The adoption of cuda standard has kinda made them monopoly in some spaces.
Ultimately, the question is not whether upgrading to 1/2/4/8tb or 24/32/48/64/128gb of ram is a good deal, or reasonable price. It's whether the overall machine is good value compared to the alternative. Obviously given Apple's pricing for most users, there will be a sweet spot at about 1-2tb where the price increase is just not worth it any more, and you deal with it externally. Few users will need to go above 1 upgrade on ram. You as a consumer should be comparing the price of the configuration you want (or can live with if say you want 8 tb of storage but can live with 4) against what you could get in a competing computer where you might get that 8tb much cheaper, but have drawbacks in other areas (power efficiency, os, build quality, screen, whatever). Or not, in which case send Apple a message by buying that instead.