Black Friday shattered online sales records despite slower store traffic, as shoppers spent billions amid economic uncertainty.