I want nothing to do with physics.

Literal

Physics [disdain-なんて] absolutely-not.

なんて after a noun expresses strong disdain — 'something like physics' with a contemptuous tone (more emphatic than the related なんか). まっぴらだ means 'absolutely no way' or 'I've had enough' — a vivid colloquial expression of refusal. Very emotional and natural.