as i know, usually the exchanger get their bitcoin from transaction fee, exchanger usually charge percentage amount when you do transaction, but for coinbase they got their profit from selling and purchasing bitcoin by user
The transaction fee is the main income stream for the exchanges. They also lend out the digital currencies.