It was used as a neutral term by both Chinese and Japanese for much of its history.
https://mothership.sg/2018/05/shina-cheena-racial-slur/