> How does this transaction make sense?

The fact that it doesn't make sense with those numbers almost surely indicates those numbers are misleading.

> Google paid a $2.4 billion licensing fee

This is the reported number for licensing and compensation, but who knows what the terms really were.

> Cognition’s valuation is $4 billion

Doubtful