Amazon.com Inc. said it’s hiring 2,000 people in Boston, expanding an existing technology hub that focuses on everything from machine learning and speech science to cloud computing and robotics.