I brought my MX Master 3 to a brand new Mac mini and was terribly confused. Mouse movement was janky, jumpy, unusable.
It turns out that you need third party tools for non-Apple mice, like Mac Mouse Fix.
Keyboard isn't much better, since Apple encourages you to bring your own keyboard, but doesn't even ship a keymap for PC keyboards.