UiPath and ServiceNow will profit from the soaring demand for AI agents.