 HP Inc. announced on Tuesday that it will lay off thousands of workers over the next three years, becoming the latest tech company to significantly downsize staffing amid a souring economic climate. 