US President Donald Trump and tech mogul Elon Musk's government cuts could provide an opportunity for China and Russia, security experts warn.