Manchester City reached the Champions League play-offs after coming from behind to beat Club Brugge on Wednesday.