If another driver causes the accident, presumably them, but if Waymo causes it, they are the ones paying (unlike Tesla at the moment)
Comparing Waymo and Tesla here is a non-sequitur. Waymo is an autonomous taxi service. They literally are the driver. Tesla does not have an autonomous service where there is no human driver in control.