Myanmar is a political mess.
1) The junta launched the coup to overturn an election that does not favour them.
2) The Myanmar populace who are angry to see a continuation of corrupt junta rule take to the streets in protest.
3) The junta being who they always are used their tried and true brutal methods to suppress the protests.
4) The junta's brutality angered the Myanmar people further. The CIA took advantage of the situation. Using their 'Milk Tea Alliance' network in Myanmar to direct their hatred against China. Any wonder why some of the protesters have construction helmets, safety goggles, masks, metal shields, and English-language placards? Never seen the protesters at India, USA, and Europe so well equipped.
5) China cannot intervene. It has a pledge for non-interference. But that gets blamed as tacit support for the junta at Myanmar. So Chinese assets and nationals gets attacked.
6) If China does intervene, it will go against its non-interference pledge. It'll just be a PR mess that the West will take full advantage. So China is damned if it does, and damned if it doesn't.
7) Chinese businesses will always be viewed with suspicion. Western propaganda is wonderfully effective. Plus, their over-competitiveness does not help their image. Like
@ansy1968 said, JV is the best option forward. Chinese companies have to learn to share and slow down a little. That is the best way to ease the tensions and distrust towards them.
For China, there are no easy solutions to the mess in Myanmar. The only feasible option for China is to just wait it out. Let Myanmar sort out its mess on its own. If Chinese nationals are mortally endangered in Myanmar, that'll be a big dilemma. Best is to get the Myanmar military to evacuate them. If that is not possible, then China would need to get PMCs to help. The BRI project will suffer a setback, but China's non-interference pledge limits its options.