After clashing with the Brazilian Supreme Court for weeks, Elon Musk-owned X (formerly Twitter) has agreed to pay the fine in an apparent settlement of the dispute