One of the closest-fought editions of the tournament ended in dramatic style with the Springboks winning successive Rugby Championship titles for the first time.