Amazon is moving Prime Day to late June as it looks to boost grocery, household and retail sales around major summer events.