The Australian Senate passed a social media ban for children under 16 on Thursday, which is set to become a world-first law.