Australian politicians approved what is reportedly a world-first ban on under-16s accessing social media sites.