Hello Danil,
Thank you for reaching out and I am happy to help!
The W3 Total Cache does add the .webp extension to the images once converted. We are not replacing the existing images, we are converting them via the W3TC API and serving them as webp, without changing the extension to .webp.
Are you using any other plugin like some image optimization plugin to convert the images to webp?
Thanks!