The company reported higher-than-expected capital expenditures of $34.9 billion in its latest quarter.