Online retailer Amazon is looking at shedding some work space around the country while simultaneously expanding in a fast-growing West Coast city near its headquarters, the latest sign of the uncertainty facing office owners throughout the United States.