Apple's Tim Cook wins restraining order against woman, citing trespassing and threats