Spy planes can be shot from the ground, or with another plane. This is closer to an act of hot war :(
Orbital space (around modern Earth) is ex-territorial, so killing a spy satellite would be seen as an act of aggression, not legitimate defense. This holds back "kinetic action" in near-Earth space.