Strong quarterly results were overshadowed by rising AI infrastructure costs and plans for additional financing.