Luka Doncic racked up a 42-point triple-double to lead the Dallas Mavericks to a 117-110 win over the San Antonio Spurs.