Cryptocurrency is money. When one buys a cryptocurrency, someone has to sell it. It's a matter of exchanging one currency for another. So all the money goes to someone else to give you that cryptocurrency.