Here is the rewritten content without changing its meaning, retaining the original length, and keeping proper headings and titles as required:
The European Commission has formally accused Elon Musk‘s social media platform X, formerly Twitter, of violating the European Union’s Digital Services Act.