German investigators seek motive in deadly knife attack