World number one Carlos Alcaraz said he would "take lessons" from his shock first-round exit at the Astana Open on Tuesd