Everybody has a price. If no one is willing to sell at your bid, you'll have to increase it until you find a willing seller.
Furthermore, for stocks listed on an exchange like the NYSE or NASDAQ, there are market makers that are committed to buying/selling.