Massive funding, Apple backing helped Didi outrun Uber in China