MIAMI -- LeBron James compared the game to a heavyweight fight.
If so, then the final punch was thrown by the Miami Heat -- and it missed.
"Two teams that are playing extremely well right now in this part of the season," James said. "Two teams that play physical, play together, play hard. That's why they are where they are at this point in the season and that's why we are where we are."
James had 12 assists and nine rebounds and Davis grabbed 10 rebounds. The Lakers improved to 23-3 and remained tied with Milwaukee for the NBA's best record. They also extended the second-longest road winning streak in franchise history to 13 games and rallied from a double-digit deficit to win for the eighth time already this season.
It wasn't over until the very last second -- Jimmy Butler knocked over James on his way to getting free enough to take the last shot, but his 3-pointer over Davis' outstretched arm bounced off the rim.
"It's always great to go against a great competitor in our league," James said about Butler. Including playoffs, they've squared off 34 times -- going 17-17.
"All things being equal, these are two really good teams playing back and forth," Heat coach Erik Spoelstra said. "We were able to create some separation in the first half, and then in the third quarter they were able to impose their will."
The Lakers outrebounded Miami 50-34, and the last of those was the biggest. Kentavious Caldwell-Pope missed a free throw with 8 seconds left to keep the Heat within two, but Miami couldn't get the rebound. Caldwell-Pope went back to the line with 4.2 seconds left, made one of two again and the Lakers' lead was pushed to three.
Butler took the last shot for Miami, a 3-pointer with about a second left. It hit the rim and bounced off, the Heat argued that he was fouled to no avail, and the Lakers survived in James' lone trip this season to the city where he won championships in 2012 and 2013.
"We were able to get that stop," Lakers coach Frank Vogel said.
The Lakers were down by as many as 14 in the first half. James connected on a deep 3-pointer with 8:21 left in the third to tie the game at 65-65, spinning halfway around afterward and punching himself in the chest with both fists as the Heat called time -- after what had been a 10-point lead a mere 3:05 earlier was gone in a flash.
Davis hit a 3 on the next possession to put the Lakers on top, JaVale McGee threw down an alley-oop lob from James while getting fouled a few seconds later to push the lead to 71-65, and Los Angeles was suddenly in control.
The Lakers' lead got as big as 11 later in the third -- a 21-point turnaround from earlier in the quarter -- before Miami clawed back within three going into the fourth. But the Lakers held the lead the rest of the way.
Lakers: When Miami's Chris Silva made a pair of free throws with 4:02 left in the first half, the Lakers trailed 51-41 -- the team's first double-digit deficit on the road in their last 3 hours, 43 minutes and 33 seconds of play. ... James improved to 6-13 at Miami as a visitor. He went 163-35 in home games with the Heat.
Heat: Celebrities at the matchup included Jennifer Lopez and Alex Rodriguez -- both with personalized Heat "Vice" jerseys -- along with Heat legend Chris Bosh, Gucci Mane and DJ Khaled. ... Not only had Miami been 11-0 at home, but the Heat also were 13-1 when leading at halftime and 14-1 in games where they had led by more than 10 points.
SPO VS. VOGEL
It was the 50th time, including playoffs, that Spoelstra and Vogel went head-to-head -- the majority of those coming in the four-year span where James was in Miami and Indiana was an annual postseason problem. "It's always a chess match," Vogel said. Spoelstra leads the head-to-head, 26-24.
James is headed to Columbus, Ohio, on Saturday for a high school game like no other. It pits his alma mater, St. Vincent-St. Mary's of Akron, against Sierra Canyon -- the team featuring, among others, his son Bronny and Dwyane Wade's son Zaire. James said he won't be conflicted. "I'll be cheering for my son," James said.
Lakers: At Atlanta on Sunday.
Heat: At Dallas on Saturday.
More AP NBA: https://apnews.com/NBA and https://twitter.com/AP-Sports
L.A. County wants Vanessa Bryant, others to undergo psych exams to determine distress levels from photo leaks
Vanessa Bryant's attorneys said the county is resorting to "scorched-earth discovery tactics" designed to bully her and the family members of other victims into "abandoning their pursuit of accountability."
Breaking down the latest NBA rookie contract extensions on deadline day
Monday is the deadline on contract extensions for the class of 2018. Here's who has signed so far and what it means for their teams.
LeBron unwilling to cut his playing time going into year 19
LeBron James details his summer of recovery from his ankle injury and shoots down any notion that he will be taking games off or playing fewer minutes.