Beijing banned high-risk people from leaving the Chinese capital and halted some transportation services on Tuesday.