Cerebras could raise up to US$4 billion at a valuation of about US$40 billion.