Oracle reported better-than-expected earnings and revenue for its fiscal fourth quarter.