The original O'Neill space colony/power satellite proposal used the
moon for a gravel pit and extensive chemical processing in space to
obtain materials for power satellites and space colonies.
There were other proposals at the time, particularly mining asteroids
by Brian O'Leary.
https://en.wikipedia.org/wiki/Brian_O%27Leary
Preliminary work by some very sharp people was reported in the first
several issues of the Space Manufacturing Proceedings. Talks were
given at Princeton. I gave one talk on space farms with my ex-wife
and two with Eric Drexler, one on vapor phase fabrication and the
other on dust-filled radiators.
O'Neill estimated a cost of close to $178 B over 14 years in his 1975
Science article so the enormous scope was understood.
This was almost 50 years ago.
Since then, I am aware of only two proposals to sort asteroid material
for useful (or at least valuable) materials and no work on lunar
materials. One is in a fictional context, (Revolution from Rosinante)
and the other is a near work of whimsy I did on mining an asteroid for
gold. (If anyone knows of more I am most interested.)
When I started working on power satellites, it was all from the
ground. That required a cost to GEO of $200/kg or less. With
electric propulsion to get the LEO to GEO reaction mass down, that
looked possible. I have never doubted a later generation of power
satellites constructed from extraterrestrial materials but the time to
establish an industrial base able to support power satellite
construction is long, perhaps 15 years after commitment--which is 5
years into the future or more.
Keith