because a tunnel-boring machine for a 1-km wide hole would probably have a mass of 10^6 tons by order of magnitude.
I wrote about one of the simplest ways to generate artificial gravity - a train track inside an asteroid