For months, tourists, entrepreneurs and smugglers of electronic goods have been purchasing iPhones in the United States and then shipping them overseas, back to where they are made, but not officially sold.