“Modern Family’s” Apple-centric episode is product integration at its best—and great TV