Private versus Public Ownership: Investment, Ownership Distribution, and Optimality