CRM's AI momentum, stronger earnings outlook and lower valuation give it an edge over TEAM amid rising AI investments.