The future of Amazon.com Inc. is hiding in plain sight in a San Francisco parking lot.

Adjacent to recently closed Candlestick Park, Amazon is testing its own delivery network for the "last mile," the final leg of a package's journey to consumers' doorsteps. Trucks loaded with Amazon packages and driven by Amazon-supervised contractors leave for addresses around San Francisco. Similar efforts are under way in Los Angeles...