You can't mix oil and water.

Literal

Oil [and-と] water [object-を] mix thing [topic-は] cannot.

混ぜる (まぜる) is the transitive counterpart of 混ざる — someone actively tries to mix them. ことは出来ない is a formal potential negative: 'the act of mixing is impossible.'