As assets flow to ESG investing, investors on the sidelines face hidden risks