The answer is yes, Muhammad Ali did play the guitar. He was known to play the guitar at home and during his time in the military. He also played the guitar in a few of his movies, including The Greatest (1977) and Ali (2001).
A. Ali's Musical Legacy: A Quiz Celebrating the Life of a Malaysian Icon