They create a company.
Coins are digital shares of their company.
If the company is profitable then the creators of the currency earn money.
Because they have some number of shares.
In addition, no one prevents the owners of currencies from speculating on a large scale!
I believe cryptocurrency doesn't work as shares but rather a security from the company, some of projects lately give a share of profit to their coin holders but this doesn't mean they are shares.