I've always considered consultants to be more on-site, but maybe that's because I didn't hear of freelancing much before the Internet and remote working.
There were plenty of freelancers before remote working and the Internet - in many fields other than software. They were probably just not that visible to the average person - precisely due to lack of Internet and later social media.