I took it over from a former colleague in the office and am now looking after it. Google Lens and apps like Pl@ntNet have suggested Ponytail Palm or Pandanus (but I think they only have similarities and are not exactly this plant).
Does anyone recognize this plant?