But theoretically if the share is expected to go up at faster than the rate of compounded interest at the current interest rate, then it's a better deal for the seller to instead take out a loan using the share as collateral. And if the share is not expected to go up at faster than the rate of compounded interest at the current interest rate, then it might be a better deal for the buyer to loan out their money instead. The only thing that would make this a worse decision than the share trade are middleman costs.
Foreclosing on an asset doesn't happen in my example is not a cost, but a risk, which the interest rate should be accounting for.
Longterm lockup of capital is not a problem, as either party in my example are financially gaining regardless.
And I granted you the other uses for shares, which technically can be done without buying the share, but at a middleman cost (renting the share).
I really don't care to continue this. Mine was just a hypothetical in favor of the idea that there's always a "loser" (when compared to all possible financial alternatives) in stock trades, even if everyone ends up happy with the trade. Sure, there are holes in the hypothetical. I don't care.