But there is also the Dyson swarm, which is like a starlink constellation orbiting a star and designed to collect as much energy as possible.
Anyway I don't know the answer to your question, but if we ignore structural problems with a sphere we could imagine a material a few atoms thick, like a giant carbon nanotube structure. Then one wonders how much material there is in Jupiter as an approximation of total matter in the solar system. I will leave the calculation as an exercise to the reader. ;)