Eighteen shipping companies, including Danish shipping giant Maersk, have re-routed their vessels around Africa to avoid the Red Sea amid a rise in attacks on shipping.