Thinking Machines Lab valued at $12bn after raising $2bn in one of the largest ever initial funding rounds