And those miners know the minute they start to censor transactions the price of BTC would probably suffer greatly.
From a certain legal standpoint (IANAL) the miner is facilitating all of the transactions which he creates a block for. This might make him liable if any of those transactions involve blackmail / extortion / money laundering.