Meta CEO Mark Zuckerberg has said he is willing to spend big on artificial intelligence (AI) research and development.