Ballon d'Or winner Harry Kane signed a two-year contract extension at Bayern Munich, keeping the England captain at the club until 2029.