Shares of Salesforce fell after hours on Wednesday after the customer-service and workplace-analytics platform’s full-year outlook came in below expectations.