The social media giant is a growing global force, and it does Beijing's bidding.