It depends... if OpenAI bought the DRAM in order to use it, then fair play to them.
If they bought the DRAM in order to stop their competitors from using it because they are falling behind, that's anticompetitive in spirit, though I'm not sure if it actually breaks any laws.
I don't see what's less competitive about that, although I do see how it might make zero financial sense.