It wasn’t really profit - it was the money to pay your own wage. Now, if you took say $10 an hour out, it might be fair to say the rest is profit.
It makes sense in the comment above, as the cab driver actually has work expenses that they pay for out of pocket and are not reimbursed for.