Salesforce is cutting 10% of its personnel and reducing some office space as part of a restructuring plan, the company announced Wednesday.