Buerki let a tame shot from Kevin Moehwald through his legs and former Bayern star Claudio Pizarro grabbed the equaliser to cancel out goals from Christian Pulisic and Paco Alcacer.
Dortmund, who were nine points ahead of Bayern in December, must now make up a four-point deficit in the last two games of the season.