brokerages need to have cash on hand to loan. they can partner with a bank, or it can come from their own balance sheet or investors, but it's not printed out of thin air.
Sure it might be slightly more convoluted, but at the end of the day isn't this still customer deposits funding margin/loans?