General Electric’s energy and health care businesses will become separate companies, with the once-gigantic conglomerate focused on aviation going forward.