Sustainability” investments became popular a few years back. So-called experts said companies shouldn’t just focus on profit.