I agree it feels scary from the employee's perspective, but at least in this case, it doesn't seem like it would've been difficult to avoid: simply return your work devices when handing in your badge:
> [...] multiple former Apple employees now working at OpenAI reached out to discuss returning Apple-issued work devices they kept when they left Apple.
By not doing that you effectively just cry "sue me", this is stupidity on the employee's part (or malice). Oh and maybe don't take "screenshots of confidential documents".