I think if we manufactured most of the infrastructure and maybe the chips or solar panels in space it might actually make sense. Nobody is talking about that though, I guess Elon is saving the we will make the solar panels in space for a down quarter.
How would it make sense? Have you seen how things are manufactured? Why would you want to make something harder and more expensive than it has to be? It's delusional to think that these things will work better in space/on mars than on earth.
I would not expect that to happen any sooner than 50 years from now. If a flight to the Moon on a Starship really requires a dozen refuelling flights, then we need an even bigger rocket (because the larger a rocket is, the more efficient it gets). Then we need to develop and build automated and teleoperated lunar factories, maybe ship the electronics from Earth for final assembly on the Moon, establish lunar mining and metalworking to build the structures, motors, actuators, solar panels, radiators, find raw materials and process them into heat exchanger fluids and propellants, and launch the satellites at least to Lunar orbit so they can self propel to their destination orbit where latency is not two seconds.
Even with an intelligence explosion guiding the development of all these technologies, it’d take many decades.