Imran Khan and Bushra Bibi, his wife, have both been sentenced to 17 years in prison over retaining and selling state gifts at prices well below market value.