Financial documents from both companies show the different approaches they are taking to the AI boom.