Dark matter and muon g − 2 anomaly via scale symmetry breaking