Google and Mercedes-Benz have made similar pledges, but it's not yet clear whether other automakers will follow.