After a lengthy legal battle, the US Securities and Exchange Commission (SEC) has ruled against Telegram's planned Telegram Open Network (TON).