MDB and ORCL are racing to dominate AI-driven data infrastructure, each leveraging distinct architectures and cloud strategies to capture enterprise growth.