I've worked with plenty of investors who had goals which went beyond purely making money. There's even a legal movement to formally tie corporations to non-profit motivations (see benefit corporations).
Thinking about non-profit vs for-profit as a strict dichotomy is unhelpful. There are plenty of investors who shy away from particular for-profit investments and prefer other ones for entirely non-financial reasons.