Aronsson Equation and Deterministic Optimal Control