Tech giant Apple has slammed a newly drafted Australian surveillance bill, warning that it will weaken the nation’s cyber security defences.