New study finds that AI learns languages visually, mirroring humans