Chinese smartphone maker Xiaomi saw profits surge as Apple's iPhone sales slipped