Apple said Friday it has invested $1 billion in Chinese ride hailing app Didi Chuxing, the bitter rival of US-based Uber, as the tech giant seeks to better understand its second-biggest market.