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