Long-run investment under uncertain demand