Xiaomi challenges Apple with latest smartphone