Business is booming at XPO Logistics, the second-biggest contract logistics firm globally, and the company is investing in automation to get to the next level. Following a first half that generated $2.1 billion in new business and a second-quarter 16-percent revenue spike that touched $4.36 billion, the Greenwich, Conn.-based company said it will install 5,000…