Fernando Tatis Jr. hit a solo homer and finished with two RBI before Manny Machado delivered a walk-off single in the 10th to lead the San Diego Padres to a 7-6 win over the Atlanta Braves.