The reason there is a tragedy of the commons is that not _all_ the costs are internal to the driver. Sure, if traffic is slow enough it becomes unprofitable for everyone, but before that point there's a situation where it's profitable to you but you're causing so much costs for other drivers it's a net bad for society.