Hewlett Packard Enterprise Co. gave an annual profit outlook that fell short of investor expectations and announced plans to eliminate about 3,000 positions. The shares dropped in extended trading.