SAN FRANCISCO -- Whale, a Singapore-based enterprise AI company, has secured a $40 million Series C extension. The company's total…