Calling yourself a tech bro is intentional ironic humor. Guys doing this are likely aware of the negative connotations but also the fact that if you are a young man in tech, other people will label you a tech bro regardless. It's just a harmless joke imo.