Some people buy on "day 0", before it hits the stock exchange. This determines the price they pay on day 0. For example, if they buy 10% on day 0, they pay $130 billion.
The stock exchange is a "secondary market", which means you're buying stock from investors who own it, not from the company itself.