SAN FRANCISCO (Reuters) - Amazon.com Inc reported a surge in quarterly revenue while profit slipped as the largest Internet retailer benefited from growth in e-commerce but kept spending heavily on distribution, technology and digital content.