Wall Street closes up on infrastructure gains but Tesla weighs