We're always on our phones and the internet. There's no space left for even entertaining the idea of kids. Cellphones took their place. And capitalism filled the gaps to occupy us with entertainment for any spare moment. (Who knew we needed "escape rooms"?)
Kids were perfect for the farm and nomadic societies. They were essentially free labor to help around the house. They don't fit very well into today's society, where you might just go on a random trip, go partying late at night, or spend your income on your hobby / pet project.
I'm saying all of this both tongue-in-cheek (kids are the future and we need them), but also in earnest. I truly think this is a big driver or component of why people aren't having kids.
I think this, more than cost burden, is the reason. We're too into our own thing to let a young infant have space.