Surely it's the latter. Driverless cars that rely on Internet access would not be feasible, for obvious reasons.
Driverless cars will likely eventually communicate via some peer-to-peer wireless technology, but I would assume that would use a different set of protocols than our mobile phones do.