The U.S. Department of Justice (DOJ) announced on Thursday that Apple Inc. has agreed to pay $25 million to resolve allegations that the corporation had improperly given preference to immigrant workers for specific jobs over citizens and holders of green cards.