From Macy's to Target, many businesses in the US are grappling with higher expenses related to e-commerce.