The spread of online shopping, especially through Amazon, turned Black Friday from a US phenomenon into a global event.