Kagi has always been upfront about using other search providers' indexes.
Per Kagi's current documentation (source), their search results
include anonymized API calls to all major search result providers worldwide
That particular page dates back to at least Oct. 2022. It was also mentioned in their FAQ back when they were still in closed beta