Oracle could reportedly cut up to 10,000 jobs worldwide as it reduces costs while spending heavily on AI and cloud infrastructure.