There might be other rewrites that sound better for various ways, but the official way to fix problems with non-parallel items in a series is to use "and" appropriately or to put the helping words in the right place.
... he likes playing cricket, football, and table tennis and gardening.
Honestly this is a bit confusing to read, but it's correct. Here, "playing" applies to the sports, and "gardening" gets its own "and" so it isn't part of the same series. You can improve the sound by re-ordering the items:
... he likes gardening and playing cricket, football, and table tennis.