Strikes from Luis Diaz and Michael Olise sealed a dramatic 4–3 win for Bayern Munich over Real Madrid.