As search engines move from lists of links to direct answers, businesses face a new challenge: earning a place in the AI-generated response.