Artificial intelligence can be risky in several ways. Firstly, it can inherit biases present in the data it's trained on, leading to unfair or discriminatory decisions. Secondly, the lack of transparency in complex AI algorithms can make understanding how and why AI systems make certain choices difficult.