Magnetic moiré surface states and flat Chern bands in topological insulators