"Friendship" doesn't happen in a vacuum. You need dependence and value exchange between two "friends." Technology has replaced most of our needs and dependence on other people, with great economic benefit. The downside is it eliminates the need for other humans, and consequently removes the potential for fulfilling relationships.
Just two example out of millions: Uber reduces the need to have friends drive you to the airport. ChatGPT reduces the need to ask your friends about their areas of expertise.