Only solution is for SA to become attractive to local and foreign investment