Companies to spend $342 bn on AI solutions in 2021: IDC