The boards of Nissan and Renault voted Monday to explore a historic three-way alliance with General Motors , putting pressure on the embattled automotive giant to decide whether it wants two foreign companies , and their charismatic chief executive , Carlos Ghosn , to play a role in its revamping .