The Scottish champions gave their German counterparts an enormous fright in the Allianz Arena as the eventual winners giants scrapped past their visitors with a stoppage-time winner.