In Baroque music (roughly 1600-1750), AABB was by far the most common form for movements of suites, sonatas, concertos, etc. Whether popular musicians adopted the court musicians' practice or the other way around or they both started at the same time independently or together--I couldn't tell you.