(Reuters) - Amazon.com Inc reported quarterly earnings that beat Wall Street's most bullish expectations, as the world's largest Internet retailer brought costs under control, sending its shares up almost 10 percent.