Alibaba, the Chinese e-commerce giant, fell short of analysts’ profit and revenue expectations for the second quarter. The company’s performance was hampered by a decline in consumer spending in China and increased competition from discount retailers. Despite this, Alibaba witnessed growth in its cloud computing and international e-commerce businesses.