An American geologist held and tortured by China's state security agents was sentenced to eight years in prison Monday for gathering data on the Chinese oil industry in a case that highlights the government's use of vague secrets laws to restrict business information.