When component costs are dictating new smartphones, Xiaomi has found a way to optimise a strong experience from what was available