Workers at an Indian autoparts maker have ended a six-week strike, which had hit supplies to General Motors and Ford and caused the shutdown of some North American plants, an official at the Indian firm has said.