Philadelphia center Joel Embiid and the 76ers on Monday agreed to a five-year, $148 million contract extension — the maximum permitted by the NBA’s rookie wage scale.