I don't think Terence Tao sold out. However, just looking at it from OpenAI's perspective, this kind of advertising is almost certainly worth at least one order of magnitude more than $3M to the company.