Xiaomi overtook Apple in terms of global sales for August