On Thursday, Amazon.com Inc. unveiled two little devices, Tap and Echo Dot, which contain speakers and microphones to connect to its Alexa voice-controlled artificial intelligence. They follow the Echo, an Internet-connected shelf speaker that’s become a cult hit in the past year.