The Champions League delivered late drama as Real Madrid scored in added time to beat Manchester City by a 3-2 scoreline.