I suspect that this is more a "certain managers wanted certain types of employees," as opposed to a systemic, companywide decree from Up High (like IBM's ageism). Apple just makes too damn much money to worry overmuch about salaries. If anything, a lot of managers like H1Bs, because they can drive them like slaves. I've seen exactly that, in front of my own eyes. It's pretty disturbing, if you are a manager like me.
The PERM application was almost certainly submitted for an existing employee, who had most likely been employed with Apple for somewhere between 2-4 years. Thanks to bureaucratic nonsense they were then required to open up that position to outsiders instead, and if they found someone else who could be hired fire the person that had been doing the job well enough that Apple was willing to pick up tens of thousands of dollars in legal fees to go ahead with their PERM application.