CarMax is acquiring Edmunds, an online car information company, for $404 million. The deal is expected to close in June 2021.