What investors can learn from Uber’s bumpy ride in China