It's using AI internally, and spending money to support AI everywhere else.