General Motors has confirmed earlier reports it will close its Oshawa assembly plant in Ontario, Canada, two further plants in the US plus two powertrain factories in the US.