The top executives of Apple and Samsung have failed to reach an agreement that would end an ongoing fight over smartphone and tablet patents, lawyers for the two companies said late Friday.