US finalises restrictions on AI, semiconductor investments in China