Lenovo Group Ltd. posted a surprise quarterly loss after losing its grip on the global personal computer market, while its smartphone