California will be the first state to create its own line of generic drugs to cope with high drug prices. A new law lets the state outsource manufacturing but control pricing and distribution.