It rightfully belongs to the workers. The firm is basically a vehicle for appropriating the positive and negative product of production. The just basis of property is getting the positive and negative fruits of your labor (i.e. the labor theory of property). In a capitalist employer-employee relationship, the employer gets solely holds the whole product while workers are denied their claim to it despite it being a result of their labor.