Australia plans to require social media platforms to act to prevent online harms to users such as bullying, predatory behaviour and algorithms pushing destructive content, the government said.