Where did you stay while you were interning? How were your living expenses paid for?
Your interpretation seems as though something is being imposed on someone, and some social injustice is being committed. Unpaid internships have advantage for the employer, and for the intern. That there are some people who can afford to invest their time and effort more so than others is not the fault of the employer, or of the intern who has the means. Nobody in this being is treated favorably, and nobody is being denied.
Life isn't inherently equal and fair. People with 'advantage' (meaning wherewithal and means) and will use it, and should.
The company isn't investing (after all, they're not paying). 'tis the intern investing in his or her own career -- as it should be!
The company is more concerned with if _they_ like _you_. The reward for the intern is experience, and maybe a future position.
2. You're helping establish a new generation of relevant workers by offering them meaningful experiences instead of typical summertime opportunities such as burger-flipping or lawn-mowing. Your internship is about their future, a typical summertime job is nothing more than "spending money"
3. You're allowing yourself to fully evaluate a potential employee's abilities.
My career began with an internship (over 20 years ago), which I always value as having been a springboard for my career.