Underpricing an IPO, of course, deprives the newly public company of capital.
The money loses value when it is underestimated in worth.