Twitter was set up in 2006.
@elonmusk
bought it in 2022. In the intervening years, Islamist groups, from the Taliban to Al-Shabaab, had accounts. During that period, 42 people were killed in Islamist terror attacks in Britain.
Nobody called for the platform to be banned.