Hmm...
Maybe Ai is well... an AI, remember she didn't meet her mother until she time traveled, maybe because she isn't human? maybe in her work addict and lonely life the loli created an AI, then things happened, she QQ about her past regrets to the AI, and thus Skynet was born.