Elon Musk stated that Twitter (X) has faced a large-scale cyberattack that has used significant resources.