Bank of America has reportedly given OpenAI a $520 million line of credit ahead of its planned initial public offering (IPO).