We (as a society) are fully capable of building single-person cars. It's just the economics of car ownership incentivize having four to five seats and a lot of trunk space just in case you need it, even if you aren't using them 99% of the time.
That's likely to change if the cars are being run by a driverless car service. They'll already have the numbers to know how many single-person cars to maintain in the fleets as compared to five seaters. Fuel / electricity will be cheaper for smaller vehicles. If traffic does notably increase, tolls and congestion taxes will come more into play and be lower for smaller cars. Single person cars could split lanes (like motorcycles).
At that point, the economic incentives change, and we could see different outcomes.
Self driving also could allow better "microroutes" which don't take you out of the way like public transit. It wouldn't address the stranger adversion however.
Ironically in the worst case it may technically reduce the average occupancy even if the total utilization rises and thus number of cars on the road drops for the same demand.
It isn't as simple as "People don't do it now, why would they do it in the future?" There are many ways to make automated car sharing far more attractive to people than car pooling ever could.
It may seem like you can solve this by just picking up in the neighborhood. However there are not enough people in any given neighborhood to make that work. This morning exactly one person (car) passed me on my way to the bus stop - I don't know if this person would go the same direction as me or not: there isn't much opportunity for ride sharing within one neighborhood.
Transit has the same problems. It solves them by forcing people to walk to the stop/station. At least everybody feels like they are making progress. They also come on a schedule which means you can't leave when you want to.
I don't see why people who don't consider carpooling right now would order a driverless car that needs to pick up some other people before going where they want. So how would driverless cars reduce the number of cars on the road? Or to state it differently: why do we need driverless cars to get the average occupancy of cars on the road above 1?