NEW YORK — Convicted felon Donald Trump formally endorsed a government spending commission that could give Elon Musk broad responsibilities for auditing federal spending and regulations — a move that reflects a tightening political alliance between the two men with less than nine weeks left until Election Day.