All of these have the feature that you can produce them more economically-efficiently at scale
AND that boom-bust cycles can be catastrophic for producers.
Memory absolutely fits both these criteria.
As for the net public good weighing, at the end of the day the question would be if it would be more economically efficient to mass produce memory with a managed price structure (i.e. US agrees to buy X amount at $Y regularly).
Which turns into whether having an anchor buyer allows the producer to economically create (and continually run) more production capacity than they would otherwise.
It feels like for semiconductors, the planet as a whole would benefit from maximizing production to floor cost.
Granted, AI infra mania current times is an anomaly, as was internet build-out.