Over the past year, Oracle has cut 21,000 jobs, according to an SEC filing. Part of the reason is apparently AI.