Mercedes-Benz beats Tesla to win California approval of automated driving tech