The cost of training AI models is driving companies like Anthropic to go public, Anthropic Co-Founder and President Daniela Amodei said.