Germany’s appeal to foreign investors hits lowest level since 2017: Survey