The company warned of accelerating capital expenditures around artificial intelligence, sending shares down 7% after hours.