Uber is partnering with Rivian to bring automated taxis to Los Angeles and San Francisco.