Atlético Madrid were denied a clean sweep of UEFA Champions League Group D victories as Robert Lewandowski's stunning free-kick gave Bayern München a well-deserved win.