Defense spending in Taiwan has not kept pace with the threat posed by China, a U.S. defense official said.