The company acknowledged that files from Apple and Tesla clients had appeared on the dark web following a ransomware attack on its systems.