In Alphabet’s annual report, the company said AI poses business risks, including its potential impact on advertising.