This is a very naive, simplified, and wrong take on a generally well accepted concept.
Point 1: increased demand for stocks will increase the price of it and thus the market cap. Point 2: the higher the market cap of a company the more capital it has available.