Apple devices get beefed-up defence against spyware