<p>China said it sentenced an official to death for spying for a foreign intelligence service, publicizing the case as a warning against leaking state secrets.</p>