Incidentally, even Dyson himself never suggested that a Dyson sphere would be a solid object; that's been added on by various SF writers who don't mind postulating unobtainium to make it out of. But a dense swarm of smaller objects (kilometres, maybe?) could accomplish the same. Admittedly, the problem of controlling quadrillions of orbiting habitats, power stations and factories to stop them colliding would be horrific and probably require strong AI to accomplish it.