Investors with a long investment horizon should consider buying these three companies.