The company is investing in robots and self-driving taxis that are not yet generating significant sales.