The move threatens to upend trillions of dollars in e-commerce business and the 250-year-old Postal Service.