The San Jose company would not discuss details of the restructuring, but analysts said the reversal was driven by missteps in expanding into certain consumer lines and a tech marketplace in which more and more computers, smart phones and other products are being bought outside the U.S.