US factory orders dip 0.3% in June on AI-driven demand