The database giant would be the latest tech company to initiate layoffs as it frees up capital to spend on AI projects.