The Pentagon has pulled the plug on a controversial $10 billion enterprise cloud contract awarded to Microsoft (NASDAQ: MSFT), ending a four-year-old effort that has been stuck in neutral because of legal challenges brought by Amazon.com (NASDAQ: AMZN).