Amazon.com Inc. is eliminating about 100 positions from its devices and services division, which works on products including the Alexa voice assistant and Kindle e-reader, highlighting the e-commerce company’s efforts to trim its corporate workforce.