The surging popularity of low-cost investment funds has dialed up the pressure on most asset managers—including some of the firms most responsible for the industry’s transformation.

Investing giants State Street Corp. and BlackRock Inc. on Friday reported lower earnings in the second quarter, a period in which the Dow Jones Industrial Average ascended to a new record high and both firms posted inflows.

A...