False dichotomy. Building relationships and earning a living aren't mutually exclusive.
Building healthy, lasting relationships with your peers isn't necessarily required to get a job done, but it certainly makes it more enjoyable. Of course not everyone is going to be interested in authentic relationships at work, but that doesn't mean that nobody wants to be friends at the office.
If you can only view your work peers as pure business interactions, you're missing out.