And you were expecting., what ? Your ESP isn't connected to the internet ! How would it be able to do that ?
Once you now open your browser, and type the standard IP 192.168.4.1 you should get sent whatever the function handleRoot() sends you.
You can however connect your ESP to a WiFi network and let it work in station mode, or both as an AP as a STA. You could then theoretically connect to the AP, and connect through it to a WiFi network that is connected to the internet., but why ?