They never really specify beyond the planets themselves being consumed wholesale. Some of the structures are just hollow spheres:
https://preview.redd.it/7tvkbj5bp2hb1.jpg?width=1951&format=...Also conceivable that meteors etc crash into the megastructure providing it with endless resources.