Lordstown Motors Corp. agreed on Thursday to partner with Foxconn Technology Group in a $280 million deal that has the startup selling its former General Motors factory in Ohio to the Taiwanese company in exchange for cash while also receiving an equity investment.