ETFs are treated like stocks. That's kind of the point. They can be lent out by your broker if you're on margin.
Mutual funds are opaque. It's up to the fund to decide if they want to make some extra money lending their securities out to speculators. As they're holding the stocks long term and standard securities lending is over collateralized, the risk profile is relatively low compared to the extra return.