President Donald Trump has revoked the security clearance of ex-CIA chief John Brennan, denying the US president's critic any access to sensitive information.