Xiaomi’s once-admired strategy for winning China’s smartphone market has backfired