Real Madrid have become the first club to reach three straight European Cup finals for the second time.