The European Union’s chief executive on Wednesday proposed fining Google, Facebook, Twitter and other online platforms if they fail to remove extremist content within one hour.