It's not just Chinese box offices. There is a lot of investment money coming from China to produce Hollywood films. As part of that investment, the scripts are definitely under a lot of scrutiny for how things are portrayed. Keep that in consideration the next time you see the distribution logos at the beginning of the film you're watching.
I was actually kind of surprised to see a such a direct analogy in a big Disney production; I'm going to hazard a bet that it was not at all intentional, but I'm not sure that China's foreign film approval body are going to see it the same way. If it gets released at all in China it's almost certainly going to bomb for that and other reasons.
https://slate.com/news-and-politics/2016/02/chinese-dissiden...
https://www.foi.se/rest-api/report/FOI-R--4933--SE
https://www.hrw.org/news/2019/03/04/why-some-chinese-immigra...
https://freedomhouse.org/report/transnational-repression
https://www.propublica.org/article/operation-fox-hunt-how-ch...
https://www.nytimes.com/2012/10/26/business/global/family-of...
I read a good article on this some time ago, but I can't seem to find it right now.