Apple’s CEO has revealed the tech giant was “inspired” by Australia’s social media ban in a call with Anthony Albanese.