Apple said on Sunday that COVID-19 restrictions at an iPhone factory in China have "temporarily impacted" shipments of its flagship phone.