An object with the mass of a planet can be a disk, or any shape for that matter, for a limited amount of time. However, because of its own gravitational pull, it will collapse, creating a sphere. In other cases, the objects rotational speed will determine whether or not it is spherical, or more oblong-shaped.