Australia's looming social media ban will protect the young from an online "purgatory" created by algorithms sending them harmful content, the government said Wednesday.