No puedes obtenerlo leyendo los datos de la tabla. Necesitas consultar el estado de la tabla.
$q = mysqli_query($con, "SHOW TABLE STATUS LIKE 'test'");
$row = mysqli_fetch_assoc($q);
$next_increment = $row['Auto_increment'];
echo "Siguiente número: [$next_increment]";Este valor indica el próximo ID que MySQL asignará.