Augsburg inflicted a first defeat of the season on Bayern Munich, and became the first team to stop the record champions from scoring in 87 Bundesliga matches.