X (formerly known as Twitter) is on the brink of being banned from Brazil by the Supreme Court.