Amazon.com Inc.’s annual device event Wednesday showed the e-commerce giant pushing further into wellness, security and the auto industry, underscoring an effort to weave its technology into every part of consumers’ lives.