More than 13 million people in the Chinese city of Xi'an have been ordered to stay at home as authorities attempt to tackle a COVID outbreak.