John Douglas Allen admitted in court on Monday to a 2021 campaign of threats of violence, including domestic terrorism such as planting bombs, against telecommunications companies that he blamed for “broadcasting pornography, cursing and immoral content.”