But still it's a cost because the personnel would otherwise be engaged in some productive work even if the personnel is a fulltime safety officer. If not engaged in report writing, s/he would probably be thinking of preventing another potential accident during the time spent in investigation.
Someone said "we have no time for safety because whatever time we are left with is spent in reporting, investigation, corrective actions, analysis etc"