Amazon reported $159 billion in revenue, beating estimates, as its ad, cloud and e-commerce business continues to balloon.