A Beijing court sentenced Canadian singer Kris Wu to 13 years in jail after he was convicted of sex crimes.