US President Donald Trump has stated that he is open to the idea of Elon Musk or Larry Ellison buying up TikTok.