OpenAI has completed a $7 billion secondary share sale, giving current and former employees and other shareholders a chance to cash out.