British PM vows to legislate if platforms fail to clamp down on child sexual abuse material within three months.