Salesforce shares climbed to a record as investors bet on the cloud vendor to keep taking market share.