Machinists at Boeing have voted overwhelmingly to go on strike, another setback for the aviation giant whose reputation and finances were already being battered.