Elon Musk's ownership of Twitter descended ever deeper into chaos as key security executives resigned from the platform, drawing a sharp warning from US regulators.