Call it a reverse run on the bank.

Companies and consumers flooded U.S. banks with a record $1 trillion of deposits in the first quarter, when markets went haywire and America went dark to stop the spread of the new coronavirus.

More than half of it went to the four largest banks in America—JPMorgan Chase & Co., Bank of America Corp.,...