China has passed legislation setting out tougher rules for how companies handle user data, a move pushing forward its campaign to curb big tech’s…