The buyback comes as the ride-hailing service aims to boost its free cash flow and refocuses on autonomous vehicles.