Xiaomi to invest $10B in electric vehicle business