With Elon Musk clapping enthusiastically behind him, President Donald Trump revealed his plans to sign an executive order to “restore free speech”.