I also have to wonder how many customers actually signed a 10 year contract (which is extremely long for software of all things), unless I'm misunderstanding the comment.
They are for large infrastructure projects, especially at large organisations.
It takes companies 3-5 years for migration of these products, all of which are not CapEx funded and so get minimal resourcing without prioritisation by leadership.
Not for Oracle's "everything but the kitchen sink" unlimited enterprise licenses for large (Fortune 200) organizations that, like a buffet, encourage you to "eat more" to get a "better value." Which works great until you true-up after 10 years and your annual license fee skyrockets. Which is of course Oracle's plan. But, what I've been seeing happen instead, and this is purely anecdotal, is these companies are getting tired of paying tens of millions of dollars per year to Oracle as CIOs are under ever-increasing pressure to cut costs. So they're wary of allowing themselves to fall further into Oracle's clutches and in fact they're looking at how to get themselves out of this situation.
TL;DR - these 10 year enterprise deals with Oracle allowed companies to save money in the short run and get predictable annual licensing fees. It also bought them time to get more of their application portfolio off of Oracle so when it comes time to re-up they'll negotiate those fees down.