The Los Angeles Dodgers clinched baseball's final playoff berth and gave themselves a chance to still win the NL West, beating the San Francisco Giants 10-6.