You make a good point. An object as large as a 4000km diameter pizza would have substantial self-gravity, so it is possible it may collapse into a roughly spherical shape under its own gravity. However, there are a few factors working against that:
-
The pizza would start breaking apart almost immediately in space due to radiation, micrometeoroids, outgassing, etc. As it fragments, its mass and self-gravity would decrease significantly before it has time to collapse into a sphere.
-
The pizza's material strength and rigidity would be very low, so as parts of it start collapsing, it would crumble and break into smaller particles. Its weak cohesion would work against the self-gravity.
-
The pizza's rotation would create centrifugal forces that counteract self-gravity. If it retained any spin after launch, this would resist collapse into a sphere.
-
The solar wind and radiation pressure would exert forces on the pizza matter that could blow it apart and overcome its self-gravity, especially for smaller particles after it has broken up.
-
The pizza's matter would have a non-uniform density, with denser parts like cheese and toppings embedded in a lighter dough matrix. This could lead to uneven collapse and breakage.
So while the immense size of the pizza suggests strong self-gravity, there are many countervailing factors in the space environment and material properties working against its collapse into a sphere. The likely outcome is it would break apart into smaller particles before having time to form a spherical shape, and its remains would end up as an unbound debris cloud rather than a coherent sphere. However, some chunks of denser matter from the pizza could potentially re-coalesce into irregular, loosely bound rubble-pile type objects, though not perfect spheres.
So self-gravity is a factor to consider, but on balance a 4000km pizza in space would likely break apart too quickly for its matter to naturally form a sphere before dispersing. But some smaller, denser chunks might clump together into irregular shapes, even if most of the debris remains unbound.