Oracle Corp. shares fell the most in more than 24 years after the company reported a jump in spending on AI data centers and other equipment, rising outlays that are taking longer to translate into cloud revenue than investors want.