For every card I've had, it builds up in a separate pool, and every so often you either have it deposited to a bank account or applied as credit toward the bill.
I've had a card that automatically processed it as a statement credit one statement behind, and my current cashback card automatically deposits to a linked brokerage account once the accumulated points reaches a threshold. All transactions have a cost, but for these, it's negligible and hidden from the account holder.