Draft Australian legislation could let people switch off social media algorithms on apps like Instagram and TikTok.