Pfizer will stop the development of its twice-daily weight loss pill due to adverse side effects.