Chelsea and Manchester United maintained their 100 per cent records in the UEFA Champions League group phase as AC Milan beat Real Madrid in a thriller.