He probably downloaded 100k accounts (perhaps a range of IDs) and then grepped them for @apple.com accounts.
Hopefully not for long... https://news.ycombinator.com/item?id=6093468
Don't get me wrong, I don't agree with what he did, but the whole case is baffling to me.