The ChatGPT maker is raising $40 billion, but it won’t get all of that money unless it transitions into a for-profit company.