A man who worked at Google for nearly 20 years quit because he felt unhappy with its AI policy.