A former Chinese engineer has been sentenced to death for leaking state secrets to a foreign power, Beijing's spy agency said Wednesday.