In the present day universe, this does not happen for two reasons. First, the gas is unstable to fragmentation as it collapses. The reason for this is that the Jeans mass, the smallest mass that is likely to collapse, scales as $T^{3/2}/\rho^{1/2}$, where $T$ is the temperature and $\rho$ the density. If the gas can cool as it collapses, then the temperature remains roughly constant, the Jeans mass falls and the cloud breaks up into smaller cores. These cores are usually much smaller than the (at least) several solar masses required to form a black hole (see below).
Second, each of those cores eventually gets hotter in the middle. For masses above $0.075M_{\odot}$, the core becomes hot enough for nuclear fusion. This maintains the high temperature and pressure, which keeps gravity at bay until the fuel runs out. After this, quantum mechanics in the form of electron degeneracy or neutron degeneracy pressure or even the repulsive force between nucleons might support the star (as a white dwarf or neutron star), but not if it is more massive than $\sim 3M_{\odot}$. For lower mass balls of gas (brown dwarfs or planets) they skip the nuclear fusion and go straight to being supported by electron degeneracy.
However, in the early universe, what you suggest might actually happen and this might be how supermassive black holes and quasars exist only a few hundred million years after the big bang.
Primordial gas made of just hydrogen and helium atoms cannot cool very efficiently (it is the presence of heavier atoms, produced by previous generations of stars, in present day gas clouds that leads to efficient cooling). Primordial clouds are thus less susceptible to fragmentation because they heat up as they get more dense and the Jeans mass cannot become small. In such circumstances it could be that a large black hole ($10^4$ to $10^5$ solar masses) can form directly from a collapsing gas cloud.
See this press release for an alternative summary of this idea and links to recent academic papers on the topic (e.g. Agarawal et al. 2015; Regan et al. 2017).