Many times they don't. It's usually something like Instagram where they give out a product for free in hopes that piles of people will start using it, and they'll "figure out something later". Worked out great for Google and Instagram, not so great for 999,999 other startups who tried it.
Personally, I like the idea, but it's tough.