have you plugged it into a different outlet and then circuit and confirmed the behavior follows the mac? Is anything else on the circuit?
I share the same belief as the next poster- your circuit has been made marginal by past history. I had a somewhat similar experience in my current home, which has a mishmash of generations of wiring, but some still fuse based knob and tube wiring, potentially from the beginning (1933). A light was flickering severely, and I could hear a buzzing sound in the panel until I turned off that circuit.
My friendly electrician popped out, replaced the circuit and every outlet on the circuit. And yes, outlets wear out too, especially the cheaper ones. The folks plugging their EVs into 14/50 outlets are finding this out. High demand jobs can take a toll on the outlet.
You might be able to use one of the devices that measures power draw to see if the mac is extraordinary. But the max draw is somewhere over 100W and that outlet should be able to deliver 1800 or 2400 in a 20A example.