At least one-fourth of the U.S. economy has suddenly gone idle amid the coronavirus pandemic, an unprecedented shutdown of commerce that has darkened stores from Manhattan to Gilpin County, Colo., an analysis conducted for The Wall Street Journal shows.