Vincent Kompany's first game as Bayern Munich manager ended in victory, with Jamal Musiala and Serge Gnabry on the scoresheet in a comeback triumph.