Australian Prime Minister Anthony Albanese has announced his government will legislate a ban on the use of social media for children under 16 years of age.