Two top-tier Australian rules football teams have played a match in China for the first time.