Harry Kane celebrated his 50th Bundesliga appearance by scoring twice as Bayern Munich narrowly held on for a 4-3 win against Holstein Kiel at Allianz Arena.