South African president praises German investment