Kylian Mbappé and Thibaut Courtois helped Real Madrid beat Borussia Dortmund 3-2 in a Club World Cup quarterfinal to advance.