Cade Cunningham scored 29 points as the Detroit Pistons held off a late rally from the Denver Nuggets to seal a 124-121 victory in their heavyweight potential NBA Finals preview.