You're correct, China goverment is unlikely to be dropping drones around the countryside attempting kill Islamic terrorists because that is not the kind of terrorism that exist in China. Unlike the US China share a border with Afghanistan and have a vested interest in peace in Afghanistan. If stability is achieved, China can extend the Belt and Road Initiative to Afghanistan through the China-Pakistan Economic Corridor. This will open Afghanistan's largely untouched resources to China.
When dealing with the Taliban, China actually possesses an advantage that the United States and Russia lack: China has never waged military operations against the Taliban. However, China is realistic in its approach to international affairs and excels at free-riding. Beijing will seek to avoid becoming needlessly entangled in Afghan affairs. China will not unilaterally interfere with the political situation in Afghanistan, because Chinese leaders are unwilling to repeat the mistakes of Soviet and U.S. leaders and step into an imperial quagmire.
Beijing will approach Afghan affairs – and the Taliban – more cautiously than people think.
thediplomat.com