A man who shook his partner's toddler to death after staying up late playing video games has been jailed for life with a minimum of 25 years.