Can a cat or dog catch tuberculosis from human?

Possibly. There are reported cases of transmission of Mycobacterium tuberculosis to other mammals such as elephants, cows, primates so transmission to other species is possible but apparently uncommon.