Dallas trailed the Lakers by seven points with five minutes left in the game. The Mavs then went on an 18-6 scoring rally.
Lakers, two-time defending champs, are on the brink of elimination.
No NBA team has ever lost after taking a 3-0 semifinal lead.
The Associated Press contributed to this report.