Ford Motors and United Auto Workers have come to an agreement to trim labour costs to help it survive without government loans.