Bayern Munich thrashed Borussia Dortmund 4-0 in the first Klassiker of the league season.