US think tank: AI could cause nuclear war by 2040