Military diplomacy – including senior-level visits, port calls, and joint exercises – has become a vital tool of Chinese statecraft.