Follow this links to install Sharepoint 2013 Foundation on Windows Server 2016 or 2016
http://roger.dilsner.com/install-sharepoint-foundation-2013-windows-server-2016-solution/
You can download wsssetup.dll to add it on SharepointInstaller Folder after extract. https://github.com/romain25/Sharepoint2013/blob/master/wsssetup.dll
Because all link is die 404 for wsssetup_15-0-4709-1000_x64.zip