Mayor Michael R. Bloomberg, one of the most outspoken defenders of Wall Street, has sided against one of the financial industry's biggest critics in a hotly contested Senate race in his native Massachusetts.