GM closes plants and lays off thousands in move to 'streamline'