Xiaomi’s founder loses a 1bn yuan bet General How the wager unfolded offers a vignette of corporate China