Chinese authorities said they sentenced an American citizen to life in prison on espionage charges, in a case that could further strain relations between Beijing and Washington.