Strong growth in Amazon.com Inc.’s cloud and advertising businesses paved the way to another impressive earnings and revenue beat today.