Electronic structure and carrier dynamics of ferromagnetic shape memory alloys and topological insulators