ServiceNow's stock has slumped this year, along with other software names, as AI has threatened to disrupt the industry's business model.