Bank of America has provided OpenAI with a $520 million credit line to assist in its preparations for going public.