SAN FRANCISCO (Reuters) - Amazon.com Inc posted a much larger-than-expected loss in the second quarter as it continues its rapid pace of investment in new businesses such as digital content and consumer electronics.