Apple made store computers available for demo, installing spyware on them clearly violates the level and kind of authorisation apple was providing. THe law makes these distinctions.
But likewise, so does anyone with half a brain. You cannot come into my house an d install a keylogger on my PC, even if I make it available to you to play around with for other reasons.