Measuring the Risk and Capabilities of Artificial Intelligence