After sounding an alarm about the issue, Apple is taking steps to limit Mac disk access to AI agents.