Gravitational collapse is usually meant in the context of lots of small particles falling into a large gravity well:
A. Galaxies (Clusters, Superclusters, cosmic filaments, too, I think) start off as the gravitational collapse of the hydrogen in a large volume of space (only if the density was perfectly uniform (not possible to be perfect) would there be no collapse).
B. Portions of molecular clouds (hydrogen (and helium) gas and dust) gravitationally collapse into the protostellar disk which collapses into the protostar.
C. All stars are in the process of gravitational collapse. This collapse is slowed down (stopped) by their fusion ignition and heating, but eventually that will end and collapse will continue for whatever is left from the fusion and the supernova. White dwarfs form, and they'll be stable about a trillion of years (we think) and then become cool black dwarfs.
D. Gravitational collapse is also used to describe the start of a black hole. In this case, no forces, not heat, not electron degeneracy, can overcome the gravitational attraction. Just today I saw a report of a dark rain observation - the inflow of matter directly onto a black hole, when normally we expect an accretion disk to form and for matter to spiral in, heating up enormously in the process.
E. It's possible to form a planet via gravitational collapse, but generally larger objects (stars) are what result. This also means that while gravitational collapse might be a contributor to planetary formation, we THINK the major factors are collisions and accretion.
Here's how it goes. Hydrogen is all over the Universe. Some of it collapses into stars and galaxies. Stars form and blow up, spewing dust all over the place. Dust and gas (H and He) form into clouds because of the explosions pushing them around (a supernova is to a molecular cloud as a leaf blower is to leaves).
Gravitational collapse of very large regions of the molecular cloud ensues. Protostellar disk forms, star in center forms, and stuff in disk collides and accretes into planets (as star forms, things begin to heat up, meaning planets close to center will not have much hydrogen, while planets far away will have lots of volatile gases (Gas giants).
This picture is being questioned because so many Gas Giant sized exo-planets are being found close to their stars...stay tuned, the jury is out (we think these Hot Gas Giants got there by orbital perturbation, and didn't form "close", but its a very active question.)