Germany may have promised to resettle hundreds of thousands of refugees, but that effort is putting a strain on Europe's largest economy.