If somebody had the idea to throw elephant power behind Roman military engineering, i think not only would the 'Atlas' elephants not gone extinct, but that the Romans would have a reason to keep them in their armies.
I agree, think about they could use them to help build fortifications or use them as huge pack mules.