A Pakistani former television executive has been sentenced to 25 years to life for beheading his wife.