The president spoke about the Trump administration’s failed efforts to build a Foxconn facility in Wisconsin.