Beijing has been placed into a Wuhan-style lockdown as China grapples with a new wave of coronavirus infections.