Australia’s online safety regulator on Wednesday announced it had dropped its legal battle against Elon Musk’s X.