Democrats say they will introduce legislation on AI safety, corporate liability and data-centre energy costs after taking control of both chambers of the US Congress.