To obtain the "innerHtml" of the selected option there are many ways, I hope to give you a guide with the following code.
select = document.getElementById("id_maquinaria");
select.onchange = function(){ // Podemos crear una función que reaccione cuando cambia el valor del select como prueba.
console.log(this.value); //regresa el value del option seleccionado
console.log(this.innerHTML); //regresa el select completo con todas sus opciones
//Si no lo quieres usar dentro de una función podrías usar la variable que ya creamos de 'select' en lugar de 'this'
var options = this.getElementsByTagName("option"); //Te regresa un arrego con todos los options de tu select
var optionHTML = options[this.selectedIndex].innerHTML; //Te regresa el innetHTML (Maquina 1 o Maquina 2) del option seleccionado
console.log(optionHTML); //Aquí te queda para quelo uses como gustes!
};
In summary, we obtain the element select through its ID, then we extract the options as an arrangement with the 'getElementsByTagName' and from the array we select the one with the index that was selected through the attribute "selectedIndex"
There are many ways to do it, this is just one that I think is simple for what you need to implement.