Rafael Nadal ends 2016 season early in a bid to recover from a wrist injury and be fit for the start of 2017.