Most firearms can be made to fold simply by a quick buttstock swap, but the buffer tube and gas system that define the AR-15, make an easy upgrade like that impossible.  The buffer and its tube run most of the way through the stock and can’t bend.