Supreme Court sides with tech companies