The word "company" itself is military in origin, Latin "companio", soldiers who lived and ate together in a mess/barracks. In the modern day armies still use the term, several platoons make a company, several companies make a battalion.
Schools and sports teams also have uniforms, if that helps set your mind at ease...