The surge of covid cases across China, driven by the highly transmissible omicron variant, is straining hospitals and prompting lockdowns of neighborhoods in Shanghai.