MSC Mediterranean Shipping Company SA's Africa logistics unit will invest as much as €40 million in Namibia by 2030 to benefit from growing oil, gas and renewable energy developments.