You cannot legally call yourself an 'architect' unless you have years of training and professional registration. But all sorts of people put 'architect' in their job title. Mostly they work with computers: hence 'data architect' and 'software architect' - although I have seen 'hair architect'. The word came into English in the 1560s, from the Greek architekton, meaning 'master builder'. 'Architecture' has long been used for any complicated system, and, from the 1960s, computers. That 'data architect' may be the master of a project, but she won't have mud on her boots.
Next: Where does the word compensation come from?