Davis finished with 31 points. The win gave the Lakers a 2-0 series lead in the Western Conference Finals. LeBron James contributed 26 points and 11 rebounds for the Lakers, who blew a 16-point third-quarter lead.
Nikola Jokic had 30 points, nine assists, six rebounds and four steals for the Nuggets, while Jamal Murray added 25 points and Michael Porter Jr. scored 15 off the bench.
Davis scored the Lakers' final 10 points of the game and capped off the performance with the first Lakers buzzer-beater in the playoffs when trailing since Kobe Bryant in 2006.
Murray and Denver big Nikola Jokic each scored 21 points Friday yet it was hardly enough to tame the championship-hopeful Lakers, who used a 17-1 second quarter to assume command and eventually land a 126-114 victory.
In a frantic finish, LA's Alex Caruso missed a three-pointer, before a shot from Green was blocked out of bounds with 2.1 seconds left.
But Davis was full of praise for Denver, who became the first team in National Basketball Association history to come back from consecutive 3-1 series deficits to advance after stunning the Utah Jazz and Los Angeles Clippers. He had 11 points and was 3-for-10 from three-point range.
With 2.1 seconds left, Davis found himself wide open from the left wing before launching the game-winner, as if it was perfectly designed for him. But the Lakers answered with a 20-7 surge after a 3-pointer by Kentavious Caldwell-Pope six minutes later for a 55-40 advantage. The Lakers committed 23 turnovers to 19 for the Nuggets.