Tysk polis har gripit en 27-åring misstänkt för att ha förberett ett islamistdåd, rapporterar Tagesschau.