Oracle is the definition of a company that remains huge but hasn't done well offering cloud services, but has a stock that's up 153% over the past five years. Databases are sticky!
Databases have more business value and stickiness than application code. A company may keep its Oracle database for decades while replacing application code multiple times.