China's Xiaomi Ready to Post Losses to Battle Apple