General Motors Co. moved to solve two major political headaches on Wednesday as U.S. President Donald Trump announced the Detroit automaker will sell its Lordstown, Ohio, plant to a company to build electric trucks, while GM said it would maintain some operations at a Canadian plant.