It sounds almost too good to be true—getting a paycheck and owning part of the company at the same time.