The cloud titan is pouring millions into university-led research in generative AI through the Build on Trainium program.