1. What's it? 2. That's it. Are the above sentences acceptable? Grammatically, yes. However, #1 seems unusual. More common would be 'What is it?', wih stress placed on the word 'is'.
For both examples, a context is really needed in order to clarify the meaning and to permit further comments.