Extremal choice equilibrium with applications to large games, stochastic games, & endogenous institutions