A cult leader in southern China accused of selling toxic food, swindling followers and seducing dozens of women has been sentenced to life in prison.