Digital twins and artificial intelligence