They bought their inventory from Apple within the provisions of the contract they signed to be allowed to sell Apple products. These companies are entering into a valid contract voluntarily. They can chose not to sign the contract, but then they don't get to sell Apple products.