Brazilian authorities have enacted regulations banning X, which has stirred international concern over digital freedom and speech.