The former example is the picture-book model of capital allocation. The latter is pure economic parasitism. And in many instances today, Wall Street is closer to the second model than the first.
There was a related round table on CFR recently
"The Finance Industry and Its Impact on the U.S. Economy after the Great Recession
Is U.S. Finance Hurting Growth?"