The operator of South Africa's largest shipping container terminal has blamed severe port delays—which have led to shortages of medical supplies and hit automotive exports—on poor equipment maintenance, and now faces a warning that its operating license could be revoked.