The EU has revealed it suffered a cyber attack powered by AI last month and some of its digital tools are still offline as a result.