Slowed progress in AI is narrowing the gap between big tech's proprietary models and their cheaper, open source rivals.