Google is turning to artificial intelligence to make sure people keep using its search engine, even if they’re not spending as much time on the Web and personal computers.