Quantum properties of an atom in a cavity constructed by topological insulators