Apple argues that it's not required because you aren't required to be searched, it's only if an employee freely chooses to use the ~~~privilege~~~ of taking your personal items to work that they are searched. You can always come to work with nothing and not be searched.
I think this argument is BS and it looks like so did the California Supreme Court. Apple argues that this choice is of benefit only to the employees but without it I think they'd have a much harder time keeping employees.