The MacBook in question is the October 2010 redesign of the Air. It's conceivable that there were iPhone 4s (or prototypes of such) in the Apple design office at the time it was being designed.
Then maybe the contour of the iPhone 4 was designed after the groove on the MacBook.