Elon Musk's X platform has been slapped with more than $2 million in fines by Brazil's top court for not complying with judicial orders.