Oracle Aims to Ride AI Wave Amid Declining Database Business