The fastest-growing product groups on Amazon in 2017 were luxury beauty, pantry items, grocery and furniture.