JD.com’s quarterly profit dropped 55% despite a rise in revenue, as its push into the food-delivery industry and other new businesses continued to bite.