I think plenty of people don't think it's inevitable. I'm no ai researcher, just another software engineer (so no real expertise). I think it will keep getting better but the end point is unclear.
The reason it's inevitable is because because it follows from physics principles. The Bekenstein Bound proves that all physical systems of finite volume contain finite information, humans are a finite volume, ergo a human contains finite information. Finite information can be fully captured by a finite computer, ergo computers can in principle perfectly simulate a human person.
This + continued technological development entails that AGI is inevitable.