Australian Prime Minister Anthony Albanese has condemned senators who blocked changes to the social media ban for children.