"Racism"? No. What you're describing is nationalism.
All nations spy on other nations to the degree they can afford to do so. The US can afford to do a lot of spying, so it does.
It has nothing to do with people's race, and everything to do with their nationality.