The publishing companies do buy stock photos, esp. smaller ones that publish for business, e.g. business guides, business magazines and which doesn't have in-house photographers. Others who buy stock photos are advertising companies - e.g. they use the photos when designing other co's annual reports, etc.