Shredder is supposed to be a Japanese martial arts master. Not an American general played by bloody William Fichtner. Having an Asian actor play a villain isn't racist, especially if it's a large part like this. It's just giving Asian actors less visibility in the mainstream.
I'm sure there are a ton of Asian actors who would have loved to play Shredder. He's an iconic villain in popular culture.