Scarcity is a function of demand. That doesn't change the importance of what I said! In fact, it proves my point. The reason that "some rich bastard" is willing to pay such prices for gpus or ram or anything else is because they expect it to generate revenue for them equal to or greater than the amount they paid for it. How do they generate revenue? By selling a product! Who do they sell the product to? People like you and I who also compete with them to buy ram and gpus. In other words, the importance of what I said about prices depending on demand is that it depends on
your demand. Rich bastards don't care much about ram per se; they could get it anyway. They care about it because of what (they expect) you're willing to pay for its products. Prices are what they are because people, on net, would rather spend the equivalent they could spend on ram by buying products of ram.
Putting this in view to the idea that people don't "afford" things equally: by your assumption, this implies people can indeed "afford" other non-ram things better when it comes to the more important alternatives they could buy with the ram-equivalent funds. Not only do ram-equivalent funds compete with alternate uses, but ram as a factor of production competes with other factors of production. And all factors of production compete, by way of the so-called rich bastards, for your and my dollars. In other words, if ram is more expensive, it is to support alternate uses of ram whose products are valued more highly by consumers than the direct use of ram. And, most importantly if one were to try to get around this higher resulting price for ram, it would cause higher prices for the products of those alternate uses of ram. People would be less able to get the thing they value more highly than ram because ram competes with all our needs, and less ram can be used for its indirect use.
All of that is to say that efforts to combat so-called price gouging bounds those who can less afford ram to be in a worse spot than otherwise. They can't afford ram as before, that much is true. But they prefer the alternatives to ram. If they would be better off by having ram, they would purchase that. Waving a magic wand to redistribute ram to them will give them ram, but now they lose what they valued more highly than ram.