Keep in mind that South Africa doesn't have a substantive patent examination system, which is kind of a loop hole in the system.
Here are the first few paragraphs of the article.
The patent granted last week to a law professor based in Britain was, in most respects, not unusual. It was for interlocking food containers that are easy for robots to grasp and stack, and the creator is listed as Dabus. The difference is that Dabus is not human.
Intellectual property officials in South Africa have become the first in the world to award a patent that names an artificial intelligence as the inventor of a product. The moment is a triumph for Ryan Abbott, a professor at the University of Surrey who has for years led a battle for patent offices around the world to recognise artificial intelligences as inventors.
Read the full article at the link below.