Profitability and Aggregate Investment under Demand Uncertainty