The publisher says it is “accelerating investments” in generative AI tools despite its worst financial year on record.