Symmetry-enforced band topologies in metals and magnets