Amazon.com Inc. is expanding beyond its range of Kindle devices as it aims to compete more directly with Google Inc. and Apple Inc.

The Seattle e-commerce giant has recently been developing a wide-ranging lineup of gadgets—including two smartphones and an audio-only streaming device—to expand its reach beyond its Kindle Fire line of tablet computers, said people familiar with the company's plans.

One...