These three scenarios can occur in the neighbourhood of a forming star. This leads to a system of double stars (which are numerous in the Universe), or to a system associating a star with a gas giant or a star with a brown dwarf.
If the scenario above concerns an isolated gas condensation, an isolated star forms. If the mass is small, an isolated brown dwarf, or even an isolated planet, can form.
Some isolated brown dwarves have been detected. However, it is difficult to detect them since they are faint, and shine for a short time in the infrared.
The formation of isolated planets (called floating planets) is theoretically possible. However, nothing has been detected yet. These objects do not have any energy sources, and do not emit any radiation.
Now, we consider a case where the body formed is a star, and look at what happens in its environment. Because that's where the "real" planets form in a circumstellar disk, as the Earth did.