Mumbai Indians beat Rising Pune Supergiant by one run to win a thrilling Indian Premier League final and seal a record third title.