San Francisco Frontiers - Amazon, Apple beat expectations in gloomy earnings season